Skip to content

Signin With Redirect not working #1621

Open
@Johnnyevans32

Description

@Johnnyevans32

Reproduction

https://github.com/posva/nuxt--vuefire-example-spark-plan

Steps to reproduce the bug

  1. trigger signInWithRedirect(provider) from firebase auth.

  2. redirect to the oauth provider (e.g., twitter).

  3. sign in successfully.

  4. user is redirected back but not logged in.

  5. no persistent auth state or missing result from getRedirectResult().

Screenrecorder-2025-04-16-03-29-39-789.mp4

Expected behavior

after returning from the oauth provider, calling getRedirectResult() should yield the current user state and the auth state should persist across reloads.

Actual behavior

the app reloads and useCurrentUser() returns null

getRedirectResult() doesn't resolve the user

persistence appears broken, even when set to local

Additional information

signInWithPopup() works fine

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions