Retrieve Bearer Token using a Clientid and Clientsecret

Asked

Viewed 72 times

0

Good morning,

I need to make a call on an API, I own Clientid and Clientsecret, but from what I understand, I can make the calls using "Authorization bearer".

My question is how I can transform the id and secret in this "bearer token".

I am using Jquery to make the calls

Thank you!

1 answer

0


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

Authorization: Bearer SEU_TOKEN

  • After I saw that in the documentation they sent us, there was NO URL to request the token.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.