-
-
Notifications
You must be signed in to change notification settings - Fork 196
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Bug report
Describe the bug
Signin with a provider redirects the user to the associated provider. Problem: because the user didn't accept to login with his provider's account, we can't get the user, and because the redirection is happening after
await client.auth.signIn({ provider: 'google' });
So the user still "null"
To Reproduce
- Create a new project
- Adds a provider on a click event
- See the problem
Expected behavior
Do not make any redirection. The best is probably to open all redirection in another windows, and when the user signins using the provider, then after that making the redirection if needed.
System information
- OS: Linux Deepin OS
- Browser (if applies) Chrome
- Version of supabase-js: ^1.18.1
- Version of Node.js: v14.16.1
daylonball, jstnw10, kungpaogao and rushatgabhane
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working