Open melvzgungog214 opened 4 years ago
Is there a workaround, or recommended version to revert to?
You may need to verify that the token you are validating is actually an ID token (it will be a JWT which can be decoded - an example decoder is https://jwt.io/).
You might also want to try the newer, supported version in com.google.auth:google-auth-library
: https://cloud.google.com/iap/docs/signed-headers-howto#iap_validate_jwt-java
Environment details
Steps to reproduce
Code example
Stack trace verifier.verify(idtoken) up to BaseEncoding.class:
public final byte[] decode(CharSequence chars)
Remote debugger shows: "java.lang.IllegalArgumentException: java.io.IOException: Unrecognized character: -"
External references such as API reference guides https://developers.google.com/identity/sign-in/web/backend-auth
Any additional information below At play CLI debugger I took token id and used it in https://oauth2.googleapis.com/tokeninfo?id_token
It showed decoded access token with all correct information.