Found out what was my issue
It seems that I was missing the “Add members to an organization” API.
So to summarize, doing the below 3 API during the invitation flow solves it for me:
- Create user
Auth0 Management API v2 - Add members to an organization
Auth0 Management API v2 - Create invitations to organization
Auth0 Management API v2
Now the new invited user can also do the “Forgot Your Password” flow.
It would have been nice if this was part of the docs:
At least until there is a more natural solution for this use case.