Skip to content

Add Google OAuth login support#58

Merged
amrit3701 merged 5 commits intoFreeCAD:mainfrom
amrit3701:feature/implement_gmail_auth
Jan 11, 2026
Merged

Add Google OAuth login support#58
amrit3701 merged 5 commits intoFreeCAD:mainfrom
amrit3701:feature/implement_gmail_auth

Conversation

@amrit3701
Copy link
Copy Markdown
Member

The goal of this PR is to allow users to log in using Google.

By default, Google OAuth is disabled. To enable it, log in as an admin user and open the OAuth Xavier page. Enter the Client ID and Client Secret there.

Detailed instructions for configuring Google OAuth are available here:

image image

Add admin interface for configuring Google OAuth credentials with
enable/disable toggle, client ID/secret fields, and auto-generated
redirect URI. Includes migration for existing installations and
instructions for obtaining credentials from Google Cloud Console.
… Google

- Add OAuthComplete.vue component for new OAuth users to complete signup
  with username, usageType, and TOS/Privacy Policy acceptance
- Add Google OAuth button to Login.vue with conditional rendering based on
  site configuration
- Implement OAuth redirect flow handling for new and existing users
- Add backend support for OAuth completion with HMAC signature verification
- Auto-link OAuth provider when email matches existing account
- Add route for /oauth-complete page
- Add OAuth Configuration section to admin-panel.md with setup instructions
- Update services.md to include OAuth provider configuration in Site Config Service
- Add OAuth signup workflow to workflows.md with detailed step-by-step flow
- Simplify XavierOAuthConfig.vue to reference documentation instead of inline instructions
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