Auth0 Prompts for Account Type or Role Upon First Login
Last Updated:
Overview
After a user registers and logs into Auth0 for the first time, Auth0 redirects the user to the Auth0 Profile Page. Auth0 automatically evaluates the email domain to determine if it is a corporate domain, which dictates the subsequent profile prompt. Depending on this evaluation, the page prompts the user to provide either an Account Type or a Role.
Applies To
- Auth0
- Profile page
- Signup flow
Solution
Auth0 automatically evaluates the domain of the email address that the user provides during registration to determine if it belongs to a corporate entity. The result of this evaluation determines which form displays on the profile page.
- Non-corporate users: If Auth0 does not recognize the email domain as a corporate domain (for example, free email providers like Gmail), the page prompts for the Account Type.
- Corporate users: If Auth0 recognizes the email domain as corporate, the page prompts for the Role.