Open alapierre opened 1 year ago
according to this post https://learn.microsoft.com/en-us/answers/questions/1277303/help-me-how-to-verify-azure-ad-token-in-jwt-io - some type of Azure AD tokens (probably most of them) can't be verify offline.
To verify token online this endpoint should be call:
GET https://graph.microsoft.com/v1.0/me
Authorization: Bearer ...........
To check groups end roles:
GET https://graph.microsoft.com/v1.0/me/memberOf
Authorization: Bearer ...........
Could you add possibility to verify tokens online in this plugin?
I'm trying to use this plugin with Azure AD. My token is valid - I can login with it to my application and I check it on https://jwt.ms/ - but token failed VerifyPKCS1v15 with error
crypto/rsa: verification error
.My test look like that: