Step 3 - Obtain an Identity Token
The Identity Token is the last step before you can start making authenticated calls.
After being passed to API Permissions in step 2, the user will be directed back to the designated page within your application. The page will be passed several parameters:
| Parameter | Purpose | API Version |
|---|---|---|
error |
If an error occured, or the user couldn't sign in or denied permissions, this value will reference the appropriate error code. Otherwise, the value will be 0. | |
token |
If permissions are successfully granted, this parameter contains the user's Identity Token. You will need to store this token permanently for your user, so you won't have to repeat this step every time they use your application. If an error occurred, this value is empty. | |
username |
If permissions are successfully granted, this parameter contains the user's username. If an error occurred, this value is empty. | 1 |
display_name |
If permissions are successfully granted, this parameter contains the user's display name. If an error occurred, this value is empty. | 2+ |