FAQ - How to base64 encode clientId and secret?
Change Log | ||
---|---|---|
Aug 8, 2022 | Jonathan |
|
Related Documents | |
---|---|
Confluence Link |
In order to pass the Authorization header, the client_id and secret must be concatonated and then base64 encoded into a new string.
Example:
echo -n '<your client secret>' | base64
Result:
NmNoMzVrZzk4NXVrYmxzcjhvN212aDM1YWU6OWYybzk4Z2NyZTlmZ2pvZm1yZW41czkzYnY3cDFkZ2I3cXMyaGdjNHI0NWVlMHJ0MWli
This is typically used in the Authorization header
Authorization: Basic NmNoMzVrZzk4NXVrYmxzcjhvN212aDM1YWU6OWYybzk4Z2NyZTlmZ2pvZm1yZW41czkzYnY3cDFkZ2I3cXMyaGdjNHI0NWVlMHJ0MWli
Â