Cloud Endpoints Auth returning JWT Issuer is not configured when using Access Token from CICP/Firebase Auth

吃可爱长大的小学妹 提交于 2021-01-29 05:04:56

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!