Automatically create group managed accounts without requiring a new user registration flow
Overview
Currently, group managed accounts requires the creation of a new user that is mapped to the group. Currently, if an existing user with a matching email is mapped to the group - we create a session with that account.
In other situations where the user successfully SSOs with the configured identity provider, we require a new user to be registered. We currently don't automatically create the user, but pre-populate the registration page with information relevant to the user based on the response from the identity provider.
Instead of doing this, we could automatically create the user and not require the user to submit a form.
Proposal
If an existing user for that group with that email address is not found, register a new user immediately:
- Automatically assign a username and redirect the new user to the group's overview page with a welcome banner.