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

Update routeHandlerClient.ts add cookieOptions #604

Merged
merged 2 commits into from
Jul 16, 2023

Conversation

Necmttn
Copy link
Contributor

@Necmttn Necmttn commented Jul 13, 2023

What kind of change does this PR introduce?

router client was not respecting the cookieOptions this fixes that. Allowing auth to work across all subdomains in Nextjs applications.

Fixes: https://github.com/orgs/supabase/discussions/5742
Fixes: https://github.com/orgs/supabase/discussions/3198

What is the current behavior?

Please link any relevant issues here.

What is the new behavior?

Feel free to include screenshots if it includes visual changes.

Additional context

Add any other context or screenshots.

Copy link
Contributor

@silentworks silentworks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for submitting this PR.

@silentworks silentworks merged commit 1619e93 into supabase:main Jul 16, 2023
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.

None yet

3 participants