OAuth2 Options and Troubleshooting

This is the CURL connection for my Oauth request.

curl --request POST
–url https://token-manager.XXXX.com/oauth/token
–header ‘content-type: application/json’
–data ‘{“client_id”:“”,“client_secret”:“”,“audience”:“api://XXXX.client”,“grant_type”:“client_credentials”}’

I don’t see a way to add audience or grant_type to the body when using the grant type “Client Credentials”.

I’m getting an HTTP CODE EAUTH error, but there isn’t anything about the authorization in the console so I’m not sure how to troubleshoot this.

Hey @j0dan,

The grant type is set based on if you select Client Credentials or Authorization Code so that should be ok, The only that may be an issue is the audience which I assume is the client version of a scope.

At the moment we don’t have an option for this but I will get a feature request created so that we can allow more changes in a future release.

Out of interest what is the API you are connecting to?

1 Like

Pax8, a distributor of SaaS licensing.

Any update on this?

Hey @j0dan,

Nothing yet as this doesn’t appear to be a common case. Do Pax8 have public api docs?

@Jon @j0dan
We are using Auth0, a huge provider, and there the audience is also required so we are not able to authenticate. Is this still debated? Otherwise I would open a pull request to get this minor issue sorted out.

Hey @Chrissi_Grilus,

Welcome to the community :raised_hands:

Is that to use the Auth0 API or is that for the Auth0 Authentication API which from my understanding is used to authenticate against a custom app using Auth0 rather than to use Auth0?