I just received confirmation that your current code is the best way to initialize the Auth0 client. In order to gather more info about Management API use cases in Actions as we build out more functionality, would you mind explaining how you’d like to use the client? Thank you!
Current known use cases for using the management client:
user/app metadata updates (already covered in actions)
user linking (not covered yet)
adding roles/permissions to users (not covered yet)
Thanks for a great reply. So in the ideal world, I would like:
The management API was just ready to use without a require statement, or at least could be initialized without any required parameters (it should be able to grab domain, clientId, secrets etc. from the context).
My specific use-case was user linking and user/app metadata updates, but when I look at the documentation for the management API, I can see many potential relevant operations
I hope that answers the question. Now that I have your attention, would you mind taking a look at one of my other questions regarding actions here? I know that I can always contact auth0 support and get really good help, I just think it makes more sense for the general public to have these things covered. In my opinion it’s just faster/better to find the answers in the community that opening/closing support cases
Thanks for a great reply. So in the ideal world, I would like:
The management API was just ready to use without a require statement, or at least could be initialized without any required parameters (it should be able to grab domain, clientId, secrets etc. from the context).
My specific use-case was user linking and user/app metadata updates, but when I look at the documentation for the management API, I can see many potential relevant operations