-
Notifications
You must be signed in to change notification settings - Fork 2
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
feat( user token verification) #507
Conversation
|
test:unauthorized error with nonsene tokenchristian@chroerMBP ~ % curl -X GET <!doctype html> <title>401 Unauthorized</title>UnauthorizedTrailblazerError: Could not verify user token. It might be false or expired. UI works normally otherwise |
trailblazer/services/user_verification_service/user_verification_service.py
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!
trailblazer/services/user_verification_service/user_verification_service.py
Show resolved
Hide resolved
This reverts commit 21cfe51.
This reverts commit 21cfe51.
Description
this PR adds a user token verification to the before request in trailblazer. This aims to close the security issue where anyone with a generated JWT token using a users email can send requests to TB