-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Two jwt libraries #116
Labels
bug
Something isn't working
Milestone
Comments
sethvargo
added a commit
that referenced
this issue
Sep 15, 2022
This is part of a cleanup for #116. In golang-jwt, Token is a struct. In jwx, it's an interface. Returning a pointer to an interface is generally frowned upon. This changes the interface to always be returned as an interface, but there needs to be a larger effort around reducing to a single jwt library.
This was referenced Sep 15, 2022
sethvargo
added a commit
that referenced
this issue
Sep 15, 2022
This is part of a cleanup for #116. In golang-jwt, Token is a struct. In jwx, it's an interface. Returning a pointer to an interface is generally frowned upon. This changes the interface to always be returned as an interface, but there needs to be a larger effort around reducing to a single jwt library.
sqin2019
pushed a commit
that referenced
this issue
Apr 6, 2023
This is part of a cleanup for #116. In golang-jwt, Token is a struct. In jwx, it's an interface. Returning a pointer to an interface is generally frowned upon. This changes the interface to always be returned as an interface, but there needs to be a larger effort around reducing to a single jwt library.
verbanicm
pushed a commit
that referenced
this issue
Jun 14, 2023
This is part of a cleanup for #116. In golang-jwt, Token is a struct. In jwx, it's an interface. Returning a pointer to an interface is generally frowned upon. This changes the interface to always be returned as an interface, but there needs to be a larger effort around reducing to a single jwt library.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
TL;DR
There are two jwt libraries in JVS. One defines
jwt.Token
as struct, and the other defines it as an interface. We should standardize on a single jwt library.Expected behavior
Single jwt library
Observed behavior
Both github.com/golang-jwt/jwt and github.com/lestrrat-go/jwx/v2/jwt libraries.
Environment Details
Additional information
No response
The text was updated successfully, but these errors were encountered: