Add Google/Microsoft SSO buttons and OAuth callback flow (#24) #41

Merged
westfarn merged 1 commits from feature/sso-oauth-24 into master 2026-07-27 05:14:24 -07:00
Owner

Summary

Pair with

  • Backend PR: chat_backend branch feature/sso-oauth-24

Test plan

  • npm test -- --watchAll=false --testPathPattern="SignIn.test|SignUp.test|AuthCallback.test"
  • With backend OAuth configured, Continue with Google/Microsoft from Sign In works
  • First-time SSO register lands in Stripe Checkout when needs_checkout=1
  • Existing linked user signs in and reaches app / TOS
  • Error query (email_unverified, access_denied) shows message + back link
## Summary - Frontend half of ai_ml_operations/chat_backend#24 - SSO buttons on Sign In / Sign Up (shown when `/public/settings/` reports provider configured) - New `/auth/callback/` route stores JWTs, loads account, sends new SSO users through Stripe Checkout - Error states for denied consent, unverified/missing email, link conflict, etc. - README note on Capacitor / native redirect URI limits ## Pair with - Backend PR: `chat_backend` branch `feature/sso-oauth-24` ## Test plan - [ ] `npm test -- --watchAll=false --testPathPattern="SignIn.test|SignUp.test|AuthCallback.test"` - [ ] With backend OAuth configured, Continue with Google/Microsoft from Sign In works - [ ] First-time SSO register lands in Stripe Checkout when `needs_checkout=1` - [ ] Existing linked user signs in and reaches app / TOS - [ ] Error query (`email_unverified`, `access_denied`) shows message + back link
westfarn added 1 commit 2026-07-27 04:55:18 -07:00
Add Google/Microsoft SSO buttons and OAuth callback flow (#24)
Unit Tests / test (pull_request) Successful in 12s
8c7a0cf5f7
Wire Sign In/Sign Up to backend OAuth start, handle /auth/callback/ JWT
return (including Stripe checkout for new SSO accounts), and document
Capacitor redirect limits.
westfarn merged commit 28a805404a into master 2026-07-27 05:14:24 -07:00
westfarn deleted branch feature/sso-oauth-24 2026-07-27 05:14:24 -07:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ai_ml_operations/chat_web_app#41