-
-
Notifications
You must be signed in to change notification settings - Fork 10.2k
feat(auth): introduce toggle to make the email optional #38788
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
Conversation
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
apps/studio/components/interfaces/Auth/AuthProvidersFormValidation.tsx
Outdated
Show resolved
Hide resolved
apps/studio/components/interfaces/Auth/AuthProvidersFormValidation.tsx
Outdated
Show resolved
Hide resolved
cc812ac
to
02be2a0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good pending these two fixes. Checked on preview.
I have read the CONTRIBUTING.md file.
Yes
What kind of change does this PR introduce?
Introduces a new toggle for OAuth providers to allow sign-ins/ups when the provider does not return an email address. The configuration value is read from
EXTERNAL_{provider}_EMAIL_OPTIONAL
variables which will default tofalse
to maintain backwards compatability.The following providers have been updated:
Additional context
A sample of the Google OAuth provider configuration with the newly added toggle: