Authentication methods

Find out how to manage authentication methods of your project

Overview

Auth settings column values are masked by default. You can reveal the real value by clicking on the button and hide it back by clicking on the button

Methods

Client applications can use these methods for User authentication. See parameter "auth_method" in SDK or REST API /user/login. Each project user should be registered in the project.

The project can use more than one user authentication method. The Platform supports the following authentication methods:

Anonymous

anonymous - anonymous authentication method. A user device will be registered as an anonymous user without any additional details.

Auth Settings:

{}

Firebase

firebase - this user authentication method supports the Google Firebase Authentication Service.

This service supports different user sign-in methods - Email/password, Phone, Google, Facebook, Microsoft, Apple and more.

If a user signs in on 2 or more devices using the same account, all devices will be assigned to that user account.

Auth Settings:

{
   "firebase_api_key": "AIzaSyBAw-hTjkyR78yqQccPVQHdNAdbJas_Lb0"
}

where "firebase_api_key" is the key of the Firebase project. To learn how to create a Firebase project, refer to this:

Create a Firebase project for User Authentication

Custom methods

If you have a User authentication service, we can make a plugin and support your service for your projects. Requirements for the Plugin are listed here:

Auth Plugin requirements

Please contact us if you have any questions about the Plugin.

Actions

Adding a new method

If you are going to add new user authentication method to the project you need to do the following:

  1. Click the "Add" button. You will see a form that looks like this:

Create authentication method dialog

Fill in the name of your authentication method. For anonymous method - "anonymous", for Firebase - "firebase", for custom - the name of your plugin.

Then, you have to input the settings of the authentication method.

2. Click "New auth method". As a result, this new authentication method should show up in the table, for example:

Authentication methods settings overview

Editing method parameters

If you are going to change settings of an existing authentication method, you need to do the following:

  1. Select an authentication method and click the "" button. You will see a form that looks like this:

Edit authentication method dialog

2. Edit the JSON and click "Edit auth method".

Delete method

If you are going to delete an existing authentication method, you need to do the following:

  1. Select an authentication method you want to delete and click the "" button. You will see a form that looks like this:

Delete authentication method dialog

2. Click "Delete auth method".

Last updated

Was this helpful?