-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Implement Supabase OAuth Provider Scopes and Redirects #2207
Implement Supabase OAuth Provider Scopes and Redirects #2207
Conversation
return await client.auth.refreshSession() | ||
await client.auth.getSessionFromUrl() | ||
|
||
window.history.replaceState({}, document.title, window.location.pathname) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you not hitting bug #1892 with this code? If you are, I have a solution for that issue, just need to clean it up and get it out.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It might be a similar issue - I'd have to look more into #1892 but that's for the Auth0 client and this code in the Supabase client.
getSessionFromUrl()
is specific to the Supabase go-true client.
Fixes #1830 and #1959
This PR bumps to Supabase to the latest supabase-js and adds support for: