Skip to content

Verification works on jwt.io but not with jose #554

Answered by panva
briangwaltney asked this question in Q&A
Discussion options

You must be logged in to vote

verification works on jwt.io

jwt.io downloads the public key based on a discovered issuer keys.

Any ideas what I'm doing wrong?

The public key does not correspond to the private key used for signing the token.

When you paste the token and then the public key in PEM format you posted above, in that order, jwt.io will not be able to validate the token either.

The corresponding public key is

-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAybUHuRtParBdDxkt31a0
gktB95HkPAcmvyBgH8jjJahtyrCwxLWr0y8dcGenGuEoGxSOJsuhWv2sq+d5ij75
zbLUKKRu7ToTLhAlbhsHVXiV97x5IU78aaDNDmNaoyzwLmmCoor7yUmEg0jfLWKq
AZxA8zp/YLaG40rXaC8yZabIoVI5H236ibWTOQ582/4UsLQShLEOPLZrsjIMdLs0
Y5auqYfMryCerG…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@briangwaltney
Comment options

@panva
Comment options

Answer selected by briangwaltney
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants