Access Token URL (Authentication URL) is required to ensure your platforms are safe from unauthorized access. Access Token URL can be configured by the Application admin in Applozic Dashboard for authenticating users from your backend server.
Setup Access Token URL in Dashboard
Login to https://www.applozic.com. Go to Dashboard. Select Application -> Action -> Edit -> Security. In this section, enter your server URL for authentication in "Access Token URL" field.
This URL should accept POST request with the following two request parameters.
The user should provide the access token in the accessToken option while initializing the plugin.
|userId||userId of the user who should be authenticated|
|token||Access token for the specified user|
Response: Response text received on configured URL:
If user is authenticated
If user is not authenticated
API Response should be in text format.