We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8684064 commit 003ca44Copy full SHA for 003ca44
google-api-client/src/main/java/com/google/api/client/googleapis/auth/oauth2/GoogleIdTokenVerifier.java
@@ -161,10 +161,11 @@ public final long getExpirationTimeMilliseconds() {
161
* @return {@code true} if verified successfully or {@code false} if failed
162
*/
163
public boolean verify(GoogleIdToken googleIdToken) throws GeneralSecurityException, IOException {
164
- // check the payload
165
- if (!super.verify(googleIdToken)) {
+ // check the payload only
+ if (!super.verifyPayload(googleIdToken)) {
166
return false;
167
}
168
+
169
// verify signature, try all public keys in turn.
170
for (PublicKey publicKey : publicKeys.getPublicKeys()) {
171
if (googleIdToken.verifySignature(publicKey)) {
0 commit comments