I have a public key from my identity provider
-----BEGIN PUBLIC KEY-----
THIS
-----END PUBLIC KEY-----
And a JWT token from my client.
How do I check the token against the key?
I'm having difficulty with jwt-go
because the Parse function takes the token string and a getKey
function.
Not sure how exactly to proceed