auth-js
auth-js copied to clipboard
signIn() not working!
Bug report
Describe the bug
The supabase.auth.signIn({provider: 'google'}); does not work! It just redirects me to this uri: /[SUPABASE_TOKEN]/auth/v1/authorize?provider=google
SUPABASE_TOKEN is the token in the dashboard
To Reproduce
export const signIn = async (client: SupabaseClient) => {
return await client.auth.signIn(
{ provider: 'google' },
{ redirectTo: ${window.location.host}/auth/callback }
);
};
use this in a supabase project, and you will not go to the redirection page. It doesn't display an error so i can't show much here.
Expected behavior
That i just log in with google as usual
Screenshots
token_in_url 
System information
- OS: [Windows]
- Browser: brave
- Version of supabase-js: 1.30.0
- Version of Node.js: 16.13.1