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

Invalidate JWT in Backend Logout #7574

Merged
merged 15 commits into from
Oct 20, 2020
Merged

Invalidate JWT in Backend Logout #7574

merged 15 commits into from
Oct 20, 2020

Conversation

rauljordan
Copy link
Contributor

This PR invalidates the validator RPC JWT token in the backend after calling the Logout() method from the API. Currently, the frontend gets rid of its token during logout but it is not invalidated in the backend, which is a security risk

@rauljordan rauljordan self-assigned this Oct 19, 2020
@rauljordan rauljordan added API Api related tasks OK to merge Ready For Review A pull request ready for code review labels Oct 19, 2020
terencechain
terencechain previously approved these changes Oct 19, 2020
prestonvanloon
prestonvanloon previously approved these changes Oct 20, 2020
@codecov
Copy link

codecov bot commented Oct 20, 2020

Codecov Report

Merging #7574 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #7574   +/-   ##
=======================================
  Coverage   61.66%   61.66%           
=======================================
  Files         424      424           
  Lines       29894    29894           
=======================================
  Hits        18435    18435           
  Misses       8513     8513           
  Partials     2946     2946           

@prylabs-bulldozer prylabs-bulldozer bot merged commit fdef581 into master Oct 20, 2020
@delete-merged-branch delete-merged-branch bot deleted the invalidate-jwt branch October 20, 2020 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Api related tasks Ready For Review A pull request ready for code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants