Base64 Encode/Decode

It’s important to know that the Basic Authorization header in this request should be a base64 encoded string (in UTF-8 encoding) consisting of a concatenation of your client ID and Secret separated by a colon (client_id:client_secret) with the word “Basic” in front of it.

The end result should look similar to this: Basic MzoxNGI1NmMyNs2Q3ZGFlYTA1NjJkMDcxMTUzMWRmY2ZlZQ==.

Use the website https://www.base64encode.org/ or alternative, on OS X or Linux, with OpenSSL installed, open your terminal and run:


echo -n 'client_id:client_secret' | openssl base64