Skip to content

Authorization Example since 3.1? #18

@ghost

Description

It has been announced that as of the release of Firebase 3.1.0 Firebase Authentication works with React, however I've found myself having a lot of problems, I haven't gone through the process of attempting a manual automatic login flow using signInWithEmailAndPassword`

The standard callback for managing authorization state changes immediately throws an error, it seems like it's because it's trying to use DOM local storage,

firebase.auth().onAuthStateChanged(...)

The actual callback fires, however immediately after the callback function is executed, you're given an error:

ExceptionsManager.js:78 
Unhandled JS Exception: Cannot read property 'getItem' of undefined

Is this expected? I've noticed a few posts about examples using React and Firebase since 3.1, but none of them use Auth.

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