Make JWT authorization more consistent #1144
Unanswered
hleb-albau
asked this question in
Q&A
Replies: 3 comments
-
I don't know enough about JWT to make meaningful comments to this proposal, but are you sure such an abstraction is safe? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Yeah, it is not related to jwt generation itself, but rather the abstractions, that go-kit creates. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I would happily review a PR. Push step one before doing two and three so if there is a design issue you don't waste energy on code that would need to change. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
H!
I am using go-kit JWT package to provide auth for users in my services. For me, it's look very complicated one, especially for beginners. What caused me to stuck is token generation and validation leaving in different scopes. Maybe we can create separate abstraction for token generation/validation and use it to create
NewParser
middleware.Beta Was this translation helpful? Give feedback.
All reactions