Is it possible to get the contextual object with management api?

I’m looking to migrate some of the logic from our Rule script to our application using the Auth0 Management API. I have successfully retrieved the user object using the API, but I also require important information from the contextual object. How can I obtain this object using the Management API?

Hi there @tohayon welcome to the community!

Unfortunately, the context object is not going to be available via the Management API. Depending on your use case, it may be worth looking into adding metadata and/or custom claims to tokens which can be leveraged by your own application/API outside of Rules.

1 Like

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