Skip to content
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

move authentication http middleware to go kit middleware #44

Open
jcromanu opened this issue Feb 14, 2022 · 0 comments
Open

move authentication http middleware to go kit middleware #44

jcromanu opened this issue Feb 14, 2022 · 0 comments

Comments

@jcromanu
Copy link
Owner

jcromanu commented Feb 14, 2022

instead of calling an http handler , move the authentication to the go kit middleware implementation
add bearer token as part of all requests
decode bearer to value of request
wrap endpoint creation with wrap function
validate with claims with name instead of email , because it is easier test with just one token once users are created with single email

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

No branches or pull requests

1 participant