Role based Authentication

Hi All,
I am working on a React based web application. I have basically 3 roles admin, teacher and student. Admin can add teachers and teachers can add student.
I am confused on the architecture part. I do not have an universal rule to be set as the app can be used by multiple schools. is there a possibility that I can access api to add users programmatically and also set role.

Hey @shweta.vk91, Welcome to the Auth0 Community!

Are you looking to add roles to the users via API? We have management APIs available for this purpose
also:
https://manage.icims-dev.auth0.com/docs/api/management/v2#!/Roles/post_role_users

Let me know if this is something you are looking for!

Regards,
Sidharth

1 Like

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