Auth0 PHP SDK to manage user roles

Using “auth0/auth0-php”: “^5.2”

Does Auth0-PHP SDK support manage user roles? The Management API list some methods to do this, for example Assig roles to a user, but I can no see its counter part in the Auth0-PHP SDK.

Do I have to manually implement calls to this endpoint instead of using the PHP SDK?

Hi @david.casillas,

It looks like roles is not directly supported in that SDK. Outside of adding roles using the dashboard or via rules, manually implementing management API calls sounds like the best bet.


This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.