Folder Access Token
Intended use is to provide a single sign-on flow between the My Azur mobile app (Android/iOS) and each My Azur Business website.
Folder Access Tokens are issued per folder and grant a scope that allow the token holder (My Azur Business Website) to get the user identity info from My Azur API.
To create a a folder access token use the endpoint {{api_base_url}}/folders/<folder_id>/access-tokens
.
Example:
To validate a folder access token pass the value of the Folder Access Token into the Authorization Header using the new endpoint {{api_base_url}}/folders/<folder_id>/users/me
Example:
Response:
The endpoint returns the basic user info of the user who originally created the folder access token.
By default access token expires after 3 minutes.
Last updated