Skip to content
This repository has been archived by the owner on May 21, 2022. It is now read-only.

Please add err.types #375

Open
Filet-de-S opened this issue Jan 18, 2020 · 0 comments
Open

Please add err.types #375

Filet-de-S opened this issue Jan 18, 2020 · 0 comments

Comments

@Filet-de-S
Copy link

Filet-de-S commented Jan 18, 2020

It's inconvenient to check it with strcmp instead of switch err.(type)

*jwt.ValidationError is the same for "invalid signature" as for any other like from custom Valid() method. It would be great if we could set it manually. Thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant