Authentication methods

Find out how to manage authentication methods of your project

Overview

The "Auth method" tab is visible for the project owner role only

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.

An anonymous user can be free or paid but additional devices cannot be added to this user account.

Auth Settings:

{}

Firebase

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

If a user signs in on 2 or more devices using the same account, all devices will be assigned to that user account. An authorized user can be free or paid (applies to all of his devices).

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:

pageCreate 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:

pageAuth 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:

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:

Editing method parameters

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

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:

2. Click "Delete auth method".

Last updated