Get the authorization header
1
Concatenate the credentials
Concatenate the application identifier and the token, using a colon as a separator.
2
Encode the string
Encode the resulting string using any variant of Base64.
3
Add the authorization method
Add the authorization method followed by a space in front of the encoded string.
Example authorization header
The following example builds the header for an application ID ofAladdin and a token of OpenSesame.
-
Concatenate the application ID and the token.
Concatenated credentials
-
Encode the string using any variant of Base64.
Encoded string
-
Add the authorization method followed by a space in front of the encoded string.
Encoded string with the method
Authorization header
