Skip to content

[Bug] Auth: Google OAuth state cookie lost during onboarding personal step #12267

@stilla

Description

@stilla

Description

Users signing up via Google OAuth successfully authenticate but then encounter a Missing OAuth2 state cookie error when the /onboarding/personal form is submitted. From the user's perspective the error appears to happen when interacting with the date of birth field.

Steps to reproduce

  1. Visit polar.sh and click Sign up
  2. Choose "Sign in with Google" and complete Google OAuth
  3. Land on /onboarding/personal and begin filling in the form (name, date of birth, etc.)
  4. On form submission/navigation, get redirected to /auth?error=Missing+OAuth2+state+cookie
  5. Retrying via "Sign in with Google" on the error page also fails; user is sent back to /onboarding/start

Expected behavior

User should proceed through onboarding without losing the OAuth state cookie.

Notes

Sent by @IsakPar021 from Account creation error logs.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No fields configured for Bug.

Projects

Status
No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions