#438·jwt-go

Add an example for parsing RS256 tokens

Author: mieubrisseCreated Oct 24, 2020Updated Aug 3, 2021

The major point of confusion comes from what the key func should be returning, since the examples only have HS256 tokens that return a string (but which errors for the RSA alg). I had to do a decent amount of code-diving to discover that the expected type is actually `rsa.PublicKey`.