My application is using Auth0 for authenticating the users. For a client we are trying to do SSO with their Azure Active Directory.
Registered an Application in the Azure and provided the required information regarding the application redirect and login url in it. Also created a enterprise connection in Auth0 with the client id and secret from the Azure application.
In my application the pages are displayed based on the features assigned to the User. For this new integrated SSO with this new client i want to load the AD users into Auth0, so that those users will flow into my application and i can assign the required permissions for them to view the page when they try logging in first time.
How can i import the AD users into Auth0 and create the Auth0ID before they start accessing the application?
There is no need to create an enterprise connection in that case.
Please take a look at the linked resources and let me know if there is anything you want to ask about
PS: with the second option, most likely users would have to reset their passwords, because as far as I know, AD uses a different than Auth0 function for hashing passwords tus they can not be migrated.
@marcelina.barycka Thanks for your response.
May be my question was not clear. I am not migrating users from AD to Auth0.
My SaaS application uses Auth0 for Authentication. This application is being used by one of our client. They want SSO to this application from their AD instead of we creating new user ids for their users.
For this they created an Application in their Azure with the application redirect url etc. I have created a Enterprise connection in Auto with their client is and secret and this is pointed to my SaaS application.
When they login with their Azure id Auth0 is allowing them to login. My need here is that all their Users in Azure AD should be synced to our Auth0. So when a new user is added we dont need to add anything in our Auth0 but the user is automatically provisioned. (SCIM).
Hope my requirement is clear now.
New users will be synced to Auth0 automatically during their first login to your application via the Azure enterprise connection. As far as I know, there is no periodical synchronization schedule between Azure and Auth0. It happens only when you log in to your app using an Azure connection.
To learn more about what user information will be provisioned during the login based on the connection type, feel free to take a look at this doc: Choose a Connection Type for Azure AD
Please let me know if you have any other questions about that.
Thank you,
Marcelina
I’m excited to inform you about our next Ask Me Anything session in the Forum on Tuesday, July 30, with the Product Management team. If you have questions about upcoming features like FGA, Manage Sessions in Actions, or SCIM. Submit your questions now, and our esteemed product experts will provide written answers on July 30. Can’t wait to see you there! Learn more here!