We are building a MERN stack single page app.
We got the following use cases
Registering users on our website without redirecting them to Auth0 hosted registration page and we are using Management API on our backend to handle user registration. In this transaction, we are also storing some additional information related to that user in
User authentication upon successful registration. So far Resource Owner Password Flow seems to be the best best option for us to handle the user authentication.
Authenticating users without redirecting them to Auth0 hosted login page. After some digging, I ended up using Resource Owner Password Flow to handle the authentication through our backend.
I saw somewhere that Management API has a rate limit but as per our use case, we need to store subscription related information related to the user while creating their accounts through Management API and
user_metadata is what holds that info.
Now upon authentication using Resource Owner Password Flow , we want to grab user
roles, permissions and
user_metadata in one API call. Is it possible?
Please help me out what are the best practices as per our use cases.