Closed markphillips100 closed 2 years ago
Big oversight on my part as I didn't actually persist the jwks doc, only the openid-configuration json. Having said that, anybody know what the AADSTS90061 code means? It's not documented here.
Azure AD is not able to access the necessary details to validate the token: you need all the aspects of OIDC endpoint available (such as jwks), and the error here seems to indicate that Azure AD is not able to find the necessary information
Thank you @udayxhegde, and @aramase for adding to troubleshooting.
Getting a 400 error with an undocumented AADSTS90061 error code when attempting to acquire a token from AAD:
Steps To Reproduce
Expected behavior Expected an AAD token to be made available to cosmos client.
Logs No errors in webhook but then seems no issue supplying the env and mount to pod anyway.
Environment
Kubernetes version Client Version: v1.24.0 Server Version: v1.23.5
Not using proxy sidecar annotation as I assume that's only required if migrating from aad-pod-identity.