Skip to content

Can't get session and user after success call supabase.auth.signInWithOAuth(Provider.******) #45

@r-serega

Description

@r-serega

Can't get session and user after success call supabase.auth.signInWithOAuth(Provider.******)

After signing into the app with supabase.auth.signInWithOAuth(Provider.******);
it is clear that everything worked correctly, the user's photo appears in the window.
But I can't get session and user: Supabase.instance.client.auth.currentSession == null
and Supabase.instance.client.auth.currentUser == null.
In the supabase console, the new user is not added to the user list.

Prompt the decision of reception of session and the user after OAUTH authorization.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions