Recover Bearer Token using ClientId and ClientSecret

0

Good morning,

I need to make a call in an API, I have ClientId and ClientSecret, but from what I understand, I can make calls using the "authorization bearer".

My question is how do I turn the id and secret into this "bearer token".

I'm using JQuery to make calls

Thank you!

    
asked by anonymous 18.01.2018 / 12:55

1 answer

0

First you need to request the token in the authentication service using your ClientId and ClientSecret. Now with the token "in hand" you add the header Autorization to your request.

Authorization: Bearer SEU_TOKEN

    
19.01.2018 / 13:51