Skip to content

feat: add Google One Tap support to login, login-id, signup, and signup-id screens#360

Open
amitsingh05667 wants to merge 4 commits into
masterfrom
SDK-9528
Open

feat: add Google One Tap support to login, login-id, signup, and signup-id screens#360
amitsingh05667 wants to merge 4 commits into
masterfrom
SDK-9528

Conversation

@amitsingh05667

@amitsingh05667 amitsingh05667 commented Jun 18, 2026

Copy link
Copy Markdown
Member

Summary

This PR adds Google One Tap (FedCM) support to the login, login-id, signup, and signup-id screens.

When the server provides a google_one_tap config in screen.data, the SDK now:

  • Exposes the server-provided config via screen.googleOneTapConfig (client_id, nonce, context, itp_support, auto_select, cancel_on_tap_outside)
  • Provides a googleOneTap({ one_tap_credential }) method to submit the Google ID token returned by the GSI SDK to Auth0

Test plan

Manual: One Tap prompt

  • login-id: One Tap overlay appears automatically on page load
  • login: One Tap overlay appears automatically on page load
  • signup-id: One Tap overlay appears automatically on page load
  • signup: One Tap overlay appears automatically on page load

Manual: successful authentication

  • Click a Google account in the One Tap overlay — user is redirected to the next step

Manual: feature disabled

  • Disable the feature on the client — no overlay shown, screen.googleOneTapConfig is null on all four screens

@amitsingh05667 amitsingh05667 requested a review from a team as a code owner June 18, 2026 10:20
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