Skip to content

Cannot login with Google, only in version 3.0.4 #789

Closed
@MichalKalita

Description

@MichalKalita

Do you want to request a feature or report a bug?

Bug

What is the current behavior?

await firebase.login({ provider: "google", type: "popup", scopes: [] });

Throws exception

TypeError: createUserProfile(...).then is not a function
    at http://localhost:3000/static/js/0.chunk.js:386008:8
    at e.g (http://localhost:3000/static/js/0.chunk.js:6040:21)
    at kc (http://localhost:3000/static/js/0.chunk.js:6132:19)
    at gc (http://localhost:3000/static/js/0.chunk.js:6123:28)
    at B.push../node_modules/@firebase/auth/dist/auth.esm.js.k.Zb (http://localhost:3000/static/js/0.chunk.js:6116:32)
    at Qb (http://localhost:3000/static/js/0.chunk.js:5879:13)

Workaround is downgrade to 3.0.3

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via codesandbox or similar.

What is the expected behavior?
It should work like 3.0.3

Which versions of dependencies, and which browser and OS are affected by this issue? Did this work in previous versions or setups?

only version 3.0.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions