Skip to content

Restore Google sign-in redirects - #85

Draft
sarthakagrawal927 wants to merge 1 commit into
mainfrom
agent/fix-google-auth-redirects-publish
Draft

Restore Google sign-in redirects#85
sarthakagrawal927 wants to merge 1 commit into
mainfrom
agent/fix-google-auth-redirects-publish

Conversation

@sarthakagrawal927

Copy link
Copy Markdown
Member

What changed

  • Keep the Google Identity button available when a static or preview build
    omits the injected Vite client ID.
  • Navigate from /login to /dashboard once Google credential exchange has
    established a user session.

Why

The existing production button and server auth endpoint are configured, but a
successful credential exchange only updated React state and left the visitor on
the login route. Preview builds could also omit the button entirely.

Validation

  • pnpm test
  • pnpm typecheck
  • pnpm exec vite build
  • Anonymous production browser probe confirmed Google Identity renders.

Closes #78

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.

Restore Google sign-in in preview builds and redirect after success

1 participant