Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: autofilling the name field on oAuth Signup #6147

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

jjinendra3
Copy link
Contributor

Proposed Changes

This PR enhances the OAuth signup experience by including the profile scope in Google OAuth, ensuring that user's name is retrieved correctly. Additionally, it extends the fix to other OAuth providers, pre-filling the name field on SetUsernameView when available. This aligns with the future scope outlined in the previous PR.

Issue(s)

How to Test or Reproduce

  1. Sign up using any OAuth provider.
  2. After successful authentication and 2FA (if enabled), you'll be redirected to SetUsernameView.
  3. The name field will now be pre-filled if the OAuth provider provides this information, allowing users to modify it as needed.

Screenshots

(Test Flow with a New Email ID to Simulate OAuth Signup)

Types of Changes

  • Bugfix (non-breaking change that fixes an issue)
  • Improvement (non-breaking change that enhances an existing function)
  • New feature (non-breaking change that adds functionality)
  • Documentation update

Checklist

Further Comments

This update builds upon the previous fix, streamlining the OAuth signup flow by ensuring that user details are retrieved and pre-filled when available. If an OAuth provider does not return a name, the fallback of manually entering it remains in place.

Let me know if there's anything specific you'd like to adjust or improve! 🚀🚀

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.

bug: Missing Name Prompt for New Users Signing in via Google Auth
1 participant