Add Google OAuth login support#58
Merged
amrit3701 merged 5 commits intoFreeCAD:mainfrom Jan 11, 2026
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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: