Managing roles/orgs with a custom SQL DB

Howdy!

My team has decided to use a custom MySQL connection for Auth0 Users. I am familiar with the custom database action scripts (login, create user, get user, delete user, verify user, change email, delete user), but I can’t find any documentation how to go about performing any other operations to manage users. Up until now, I have been using the Management API to do things like update the user, assign roles/org, etc.

What is best practice for roles when using a custom sql DB connection? Does Auth0 still “own” that role information and store that on their end somewhere? Do I continue to use the Management API? Or do I store roles on the user in MySQL and create endpoints independent totally outside of Auth0 to manage them?

Thanks in advance!

1 Like