Auto Creation of Users
Watch how to configure this feature: ▶ Watch Setup Video
- To configure this feature, go to the Client Configuration section and navigate to the Manage tab to locate your desired application.
- In the corresponding application row, click the dropdown arrow next to Attribute Mapping under the Mappings column, and select Client Settings.
- This feature allows the auto-creation or auto registration of a user after the successful first SSO. It is checked by default.
- If you don't want auto-creation of a user, then you can uncheck the check box.
- If you have unchecked the check box, then you can enter the endpoints where unregistered users will be redirected. If it is empty, then users will be redirected to same page from where they initiated the login.
- Then, scroll down and click the Save button.
How it Works
- Now, let’s see how this feature works. First, we will see how this feature auto creates users on the first successful SSO.
- Navigate to the Drupal login page and click on the provider link to start the login process.
- Now, log in using a new user account at your provider.
- Once the SSO is successful, navigate to the People section in Drupal, and you will see that the new user has been created automatically.
- Next, let's try a different scenario by disabling the 'auto-create user' feature and adding a custom redirect URL.
- Again, log in to the provider with a new user.
- This time, instead of creating the user in Drupal, you'll be redirected to the URL you specified.