We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
onAuthStateChanged
authState
1 parent 0ae30d8 commit 9506f85Copy full SHA for 9506f85
src/auth/auth.ts
@@ -48,7 +48,7 @@ export class AngularFireAuth {
48
});
49
50
this.authState = new Observable<User | null>(subscriber => {
51
- return zone.runOutsideAngular(() => this.auth.onIdTokenChanged(subscriber));
+ return zone.runOutsideAngular(() => this.auth.onAuthStateChanged(subscriber));
52
}).pipe(keepUnstableUntilFirst);;
53
54
this.user = new Observable<User | null>(subscriber => {
0 commit comments