问题
Right now my OpenAPI yaml looks like this:
And my Access Token coming out of my JWT in raw format looks like this:
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:
@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.
来源:https://stackoverflow.com/questions/61507102/cloud-endpoints-auth-returning-jwt-issuer-is-not-configured-when-using-access-to