JWT verification not working with tenant JWKS url

Brett Dudo 0 Reputation points
2025-08-11T21:33:39.31+00:00

I'm using Entra to get a JWT from https://login.microsoftonline.com/[tenantID]/oauth2/v2.0/authorize. It looks great. Decoding it shows all the claims one would expect - scope, email, yada yada.

I've tried the following JWKS endpoints with no success

I've tried with the js library jwks-rsa and by leveraging Vault to verify - both fail with invalid signature. Anyone had any luck verifying JWTs issued by Entra (without an application).

Azure App Configuration
Azure App Configuration
An Azure service that provides hosted, universal storage for Azure app configurations.
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.