It's working now. I had to uncomment this line: claims.Set("AccessToken",
"level1")
Thanks!
On Monday, June 20, 2016 at 7:14:10 PM UTC-7, macmilla...@gmail.com wrote:
>
> I get this error 'Error serializing the key. json: error calling
> MarshalJSON for type jws.Claims: unexpected end of JSON i
Thanks Scott. Even after changing it to RS256 I get the same error.
On Monday, June 20, 2016 at 7:14:10 PM UTC-7, macmilla...@gmail.com wrote:
>
> I get this error 'Error serializing the key. json: error calling
> MarshalJSON for type jws.Claims: unexpected end of JSON input'
> I believe that I n
I get this error 'Error serializing the key. json: error calling
MarshalJSON for type jws.Claims: unexpected end of JSON input'
I believe that I need to find the function that sign the token. The docs
don't have any usage exampl
- https://godoc.org/github.com/SermoDigital/jose/jws
Any working