jdx / jdx/mean-sample

Logging out

Open
#20 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
165
Forks
81
PR merge metrics
No merged PRs in 30d

Description

Hi Dickey, I am trying to remove JWT from request so that one can logout even though there is no session. May I ask where does JWT is kept at the moment? I tried saving it to $window.sessionStorage.token or localStorage so that I can delete it when logout is clicked. However, the program does not like the '$' sign in front of window. Any clue you can give as to how I can remove JWT from request and where it is kept once logged in? Brower's memory? cookies? So many thanks.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.