mirror of
https://github.com/google/nomulus.git
synced 2025-04-29 19:47:51 +02:00
Expand ID Token Auth verifier to catch all exceptions (#1960)
This commit is contained in:
parent
de6d73930c
commit
d996ef974c
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ public abstract class IdTokenAuthenticationBase implements AuthenticationMechani
|
|||
JsonWebSignature token;
|
||||
try {
|
||||
token = tokenVerifier.verify(rawIdToken);
|
||||
} catch (TokenVerifier.VerificationException e) {
|
||||
} catch (Exception e) {
|
||||
logger.atInfo().withCause(e).log("Error when verifying access token");
|
||||
return AuthResult.NOT_AUTHENTICATED;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue