Search code examples
javascriptnode.jspostmanauth0

AuthO test with postman


I've registered with https://auth0.com/ created a client for my test app

So I want to test sending a Get request to my restful api using Postman as the client.

I have obtain the access token

the documentation on Auth0 just says

to send the request with header

headers: { authorization: 'Bearer ' } }

but how do i do this in Postman?

It Postman they allow configuration of Authorization when I choose OAuth 1.0 I get a list of required input properties like

Consumer Key Consumer Secret Token Token Secret etc..


Solution

  • If you have the authorization token with you, you can just add the header Authorization with the value Bearer <your_token> in the postman request.

    Alternatively, you can import their postman collection which imports all of their APIs into your Postman installation. Refer to this link.