Auth0 Home Blog Docs

Problem verifying ID token



I’m trying to verify an ID Token and I can’t get past verifying the signature. At this point, I have an ID Token, and I am able to decode it and get the headers through jwt.get_unverified_header(token). However the header “kid” doesn’t exist, I only see:

“typ”: “JWT”,
“alg”: “RS256”

Does this have anything to do with the fact that I’m using the legacy pipeline? If not, what am I doing wrong?