Management API to update /user/identities?

Ready to post? :mag: First, try searching for your answer.
I want to be able to set accessToken and refreshToken programmatically.

I don’t see a way to do that with the user api: Auth0 Management API v2

How do I do that?

If that API doesn’t exist do you see any problem with me storing the new tokens in user_metadata?


  1. I have a idp connection and have the access and refresh tokens.
  2. I need to refresh those tokens and need a place to store them.
  3. I thought I could use the PATCH /user api to do so, but it doesn’t allow “identities” property.