Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggest specific account (email) to use for signing in with OAuth #98

Open
2 tasks done
Re-Shard opened this issue Jun 3, 2024 · 0 comments
Open
2 tasks done

Comments

@Re-Shard
Copy link

Re-Shard commented Jun 3, 2024

🔖 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?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant