I am creating an account in advance before triggering an OAuth login to trigger some validation checks on the email domain. Locked account creation for the client, only possible with server side combined with the create user endpoint.
I would like to send the email with the Oauth function, is that possible?
๐ Have you spent some time to check if this issue has been raised before?
๐ Feature description
With most OAuth providers you can add a specific account (email adress) as prefered account to use for the OAuth protocol. An example for Github: https://docs.github.com/en/apps/oauth-apps/building-oauth-apps/authorizing-oauth-apps
This is the flow for Microsoft: https://learn.microsoft.com/en-us/entra/identity-platform/v2-oauth2-auth-code-flow There you can send a login_hint but also a domain_hint as well.
๐ค Pitch
I am creating an account in advance before triggering an OAuth login to trigger some validation checks on the email domain. Locked account creation for the client, only possible with server side combined with the create user endpoint. I would like to send the email with the Oauth function, is that possible?
๐ Have you spent some time to check if this issue has been raised before?
๐ข Have you read the Code of Conduct?