Skip to content

Unable to fetch users from Auth0 management API #523

@aguiraf

Description

@aguiraf

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions