Repository navigation
Social Authentication with GitHub & Google OAuth
Release Date: April 6, 2026
π Highlights
This release introduces Social Authentication with GitHub and Google OAuth support, along with security hardening and accessibility improvements.
β¨ New Features
Social Authentication
- feat: add GitHub and Google social auth support
- OAuth 2.0 integration with GitHub and Google providers
- Secure token exchange flow with one-time
rtCodemechanism - Automatic account linking when provider email matches existing user
- Provider callback URLs auto-generated (read-only in dashboard)
- Encrypted storage for OAuth client secrets
Accessibility
- Added Aria Labels for buttons in CollectionsTable.jsx and DatabaseSidebar.jsx
- Improved screen reader support for dashboard components
π Security Fixes
Social Auth Hardening
-
P1: siteUrl required before enabling OAuth
- Projects must configure Site URL before enabling social auth providers
- Prevents token redirect to fallback/wrong URLs
-
P1: Email collision protection
- Social login now rejects if email exists but provider email is unverified
- Prevents duplicate accounts and potential account takeover
-
P2: OAuth error forwarding
- Provider errors (user cancel, OAuth failures) now redirect to frontend callback with
?error=... - Frontend can display proper error messages instead of raw JSON
- Provider errors (user cancel, OAuth failures) now redirect to frontend callback with
-
P3: Exchange endpoint protection
/api/userAuth/social/exchangenow requires API key verification- Enforces project boundary on the most sensitive token exchange step
π Documentation
- Updated
docs/authentication.mdwith social auth setup guide - Updated
docs/api-reference.mdwith new social auth endpoints - Added
examples/social-demo/with working GitHub/Google OAuth example
π§ͺ Testing
- 66 tests passing in public-api
- New tests for:
- Provider error forwarding
- Email collision handling
- Account linking with verified emails
β οΈ Breaking Changes
None
π Migration Guide
No migration required. New social auth features are opt-in via dashboard configuration.
To enable social auth:
- Configure Site URL in Project Settings
- Go to Auth β Social Auth section
- Add GitHub/Google OAuth credentials
- Enable the provider
@aryansinha1908 - Arial Labels Across Database.jsx (#76)
@Nitin-kumar-yadav1307 - feat: standardize API response format across both apps (#66 )
@yash-pouranik - Social Auth (#81 )