1
votes

Right now my OpenAPI yaml looks like this:

enter image description here

And my Access Token coming out of my JWT in raw format looks like this:

enter image description here

The Google-Issuer and the JWT iss are the exact same, the JWT kid matches the key ids inside the link provided by the google-jwks_uri, and the google-audiences match the aud.So, really, I can't see why this wouldn't work, and yet when i call the api with the Bearer access token i receive a 401 and "Jwt issuer is not configured".

1
The x-google-adueinces is still in Beta, and it can change. Could you please share the full response/error you are facing? According to the docs x-google-issuer should take the form of a hostname or email address. The value seems to be pretty short. Could you please double check is the correct value?Joss Baron
@BraulioBaron The value is correct according to this: cloud.google.com/endpoints/docs/openapi/…BryceSoker

1 Answers

0
votes

@BryceSoker I ran into a similar problem and found that changing

x-google-issuer: "https://accounts.google.com" to x-google-issuer: "accounts.google.com"

to match the "iss": "accounts.google.com" in the ID token fixed the problem.