Skip to content

Commit 31a9f11

Browse files
authored
Merge aac9b99 into c2f0989
2 parents c2f0989 + aac9b99 commit 31a9f11

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages-exp/auth-exp/src/core/auth/auth_impl.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,11 @@ export class AuthImplCompat<T extends User> implements Auth, _FirebaseService {
221221
}
222222

223223
async signOut(): Promise<void> {
224+
// Clear the redirect user when signOut is called
225+
if (this.redirectPersistenceManager || this._popupRedirectResolver) {
226+
await this._setRedirectUser(null);
227+
}
228+
224229
return this.updateCurrentUser(null);
225230
}
226231

0 commit comments

Comments
 (0)