Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to fetch users from Auth0 management API #523

Open
aguiraf opened this issue Mar 17, 2023 · 1 comment
Open

Unable to fetch users from Auth0 management API #523

aguiraf opened this issue Mar 17, 2023 · 1 comment

Comments

@aguiraf
Copy link
Contributor

aguiraf commented Mar 17, 2023

Hi guys,
thanks to issue #487, following @wkulesza instructions, we managed to get the authentication working again;
unfortunately, the listing of users within the Administration section no longer seems to be functioning.
The server log shows this message:

ERROR  c.c.d.manager.auth.Auth0Users(Auth0Users.java:186) Could not get Auth0 API token {"error":"unauthorized_client","error_description":"Grant type 'client_credentials' not allowed for the client.","error_uri":"https://auth0.com/docs/clients/client-grant-types"}

In fact, by setting the "Token Endpoint Authentication Method" to "none" on Auth0, the grant type "Client credentials" (Advanced settings) is automatically disabled, which is however used by the Auth0Users.java class to obtain the token to use the Auth0 Management API in order to get the list of users.
Any hint?
thanks

@miles-grant-ibigroup
Copy link
Contributor

We've run into this issue ourselves! If you look at the auth0 docs that are linked in the error messages we've used those instructions to configure our auth0 domain to work with datatools.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants