You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the @nuxtjs/supabase package and I encounter a bug described in this issue.
I am not able to use other PKCE flows because each time the third app redirects to my main app, GoTrueClient tries to refresh the session with the incorrect code parameter in the URL despite using detectSessionInUrl at initialization of GoTruClient.
I believe this function _isPKCEFlow should only watch specific URLs to manage other PKCE flows.
To Reproduce
Setup a project with nuxt/supabase.
Build a simple authentification system.
On any page, use a query parameter ?code=random.
Expected behavior
Automatically, the GoTrueClient will try to set up a session at initialization and logout current user which is problematic.
Screenshots
The text was updated successfully, but these errors were encountered:
Bug report
Describe the bug
I am using the @nuxtjs/supabase package and I encounter a bug described in this issue.
I am not able to use other PKCE flows because each time the third app redirects to my main app, GoTrueClient tries to refresh the session with the incorrect code parameter in the URL despite using
detectSessionInUrl
at initialization of GoTruClient.I believe this function _isPKCEFlow should only watch specific URLs to manage other PKCE flows.
To Reproduce
?code=random
.Expected behavior
Automatically, the GoTrueClient will try to set up a session at initialization and logout current user which is problematic.
Screenshots
The text was updated successfully, but these errors were encountered: