Postman Testing
Using Bartender Cloud and trying to use the RestFUL API. Authorization is set to Oauth2.0, Password, token URL is https://bartendercloud-production.us.auth0.com/oauth/token. I've set my ID, secret, granted access to my user. I get a valid token, but I can't use any of the endpoints. When I use a Test Credentials key, it works fine. I can't get a valid response when using OAuth2.0. I've tried both Password and Client Credentials and I get a valid token as a response - I just can't use that token as a Bearer in any request. What am I doing wrong? Are there any tutorials or documentation for setting up Insomnia or Postman with Bartender Cloud API?
-
Just for anyone else having the same issue, the problem was that I needed to add an audience in the request. The audience is "https://BarTenderCloudServiceApi". Everything worked fine after that.
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
1 Kommentar