File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ export class BaseAuth {
63
63
const isEmulator = useEmulator ( env ) ;
64
64
const decodedIdToken = await this . idTokenVerifier . verifyJWT ( idToken , isEmulator ) ;
65
65
// Whether to check if the token was revoked.
66
- if ( checkRevoked || isEmulator ) {
66
+ if ( checkRevoked ) {
67
67
return await this . verifyDecodedJWTNotRevokedOrDisabled ( decodedIdToken , AuthClientErrorCode . ID_TOKEN_REVOKED , env ) ;
68
68
}
69
69
return decodedIdToken ;
@@ -137,7 +137,7 @@ export class BaseAuth {
137
137
const isEmulator = useEmulator ( env ) ;
138
138
const decodedIdToken = await this . sessionCookieVerifier . verifyJWT ( sessionCookie , isEmulator ) ;
139
139
// Whether to check if the token was revoked.
140
- if ( checkRevoked || isEmulator ) {
140
+ if ( checkRevoked ) {
141
141
return await this . verifyDecodedJWTNotRevokedOrDisabled (
142
142
decodedIdToken ,
143
143
AuthClientErrorCode . SESSION_COOKIE_REVOKED ,
You can’t perform that action at this time.
0 commit comments