Skip to content

AngularFireAuth doesn't emit new value #264

Closed
@orangesoup

Description

@orangesoup

As mentioned in #231, when the user object from localStorage is deleted or we simply logout we get a null object which is fine. However, if we try to log in again AngularFireAuth doesn't emit any new value.

AuthService constructor:

this.af.auth.subscribe(user => console.log(user));

Reproduce: (Loading the page (with an existing object in localStorage))

- initial page load: Object {auth: V, uid: "some random uid", provider: 4}
- after logout / deleting object from localStorage: null
- login again: nothing happens

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