Skip to content

Conversation

issuedat
Copy link
Contributor

@issuedat issuedat commented Sep 17, 2025

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 to false to maintain backwards compatability.

The following providers have been updated:

  • Apple
  • Azure
  • Bitbucket
  • Discord
  • Facebook
  • Figma
  • GitHub
  • GitLab
  • Google
  • Kakao
  • Keycloak
  • LinkedIn
  • Notion
  • Twitch
  • Twitter
  • Slack
  • Slack OIDC
  • Spotify
  • Zoom

Additional context

A sample of the Google OAuth provider configuration with the newly added toggle:

Screenshot 2025-09-17 at 15 39 51

@issuedat issuedat requested a review from a team as a code owner September 17, 2025 13:45
Copy link

vercel bot commented Sep 17, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
docs Ready Ready Preview Comment Oct 3, 2025 10:13am
studio-self-hosted Ready Ready Preview Comment Oct 3, 2025 10:13am
studio-staging Ready Ready Preview Comment Oct 3, 2025 10:13am
ui-library Ready Ready Preview Comment Oct 3, 2025 10:13am
zone-www-dot-com Ready Ready Preview Comment Oct 3, 2025 10:13am
3 Skipped Deployments
Project Deployment Preview Comments Updated (UTC)
cms Ignored Ignored Oct 3, 2025 10:13am
studio Ignored Ignored Oct 3, 2025 10:13am
design-system Skipped Skipped Oct 3, 2025 10:13am

Copy link

supabase bot commented Sep 17, 2025

This pull request has been ignored for the connected project xguihxuzqibwxjnimxev because there are no changes detected in supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

@issuedat issuedat changed the title chore(auth): introduce toggle to make the email optional feat(auth): introduce toggle to make the email optional Sep 17, 2025
@coveralls
Copy link

coveralls commented Sep 18, 2025

Coverage Status

coverage: 69.874%. remained the same
when pulling 23402d6 on oauth-email-optional
into 15fe10a on master.

Copy link
Contributor

@charislam charislam left a 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.

@issuedat issuedat merged commit 5219515 into master Oct 3, 2025
19 of 20 checks passed
@issuedat issuedat deleted the oauth-email-optional branch October 3, 2025 10:22
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

Successfully merging this pull request may close these issues.

4 participants