Skip to content

Route Google sign-in through the domain's SSO provider and require a verified email - #9027

Open
andypalmi wants to merge 1 commit into
mainfrom
148-google-sso-enforcement
Open

andypalmi wants to merge 1 commit into
mainfrom
148-google-sso-enforcement

Conversation

@andypalmi

Copy link
Copy Markdown
Contributor

Description

Google sign-in now checks the email against the configured SSO providers for every account, not only Google Workspace accounts.

  1. Any email on a domain with an SSO provider is redirected to that provider, whether or not Google reports a hosted domain (hd).
  2. Google sign-in is rejected with unverified_email when Google does not report email_verified: true.
  3. Workspace accounts on a domain with no provider still get "SSO not available for this Google Workspace domain".

Related Issue(s)

Closes FlowFuse/security#148

…verified email

Google sign-in now looks up an SSO provider for the email's domain for every account, not only Google Workspace accounts, and redirects to it when one exists. Logins where Google does not report email_verified are rejected.
@codecov

codecov Bot commented Oct 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.65%. Comparing base (107cc8c) to head (23b42bd).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9027      +/-   ##
==========================================
+ Coverage   79.54%   79.65%   +0.10%     
==========================================
  Files         475      475              
  Lines       26076    26079       +3     
  Branches     6950     6950              
==========================================
+ Hits        20741    20772      +31     
+ Misses       5335     5307      -28     
Flag Coverage Δ
backend 79.65% <100.00%> (+0.10%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

This branch was successfully deployed

1 active deployment
staging — 23b42bd6 Deployed Oct 23, 2026 by andypalmi via Deploy application #12699
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.

1 participant