Azure-Samples / Azure-Samples/remote-mcp-apim-functions-python
JWT has an invalid signature
- 主要语言
- Bicep
- 星标
- 129
- 派生
- 79
- PR 合并指标
- 30 天内没有已合并 PR
描述
The access token stored in the APIM cache which is mapped to session key has an invalid signature. Though the JWT itself is valid, however, does not have any valid signature and it is causing the issue at various downstream levels where JWT validation failing.


Further using the token in exchange flows through MSAL or Azure.Identity also deems the signature invalid -

Is it because we are assigned APIMGatewayURL as an issuer while the issuer in the token is different (https://sts.windows.net/tenantId) ?
@prjhawar @jukasper - Kindly help with this issue.
贡献指南
评估
这个 Issue 还没有评估数据。