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

Auth token in session storage instead of local storage #124

Merged
merged 4 commits into from
Oct 24, 2019

Conversation

sperry94
Copy link

@sperry94 sperry94 commented Oct 23, 2019

This PR puts the user auth token in session storage instead of local storage. That will cause users' authentications to clear when they close their browser.

This will eliminate a use-case in defect (Rally Ticket), where the user closes their browser, losing their kibana authentication but keeping their admin authentication.

NOTE: Be sure to upgrade BOTH nm-web-app and kibana when testing this PR, otherwise you will get ping-ponging between the UI pages.

NOTE: This PR should not be merged until this PR is merged.

nm-web-shared PR
nm-web-app PR

@sperry94 sperry94 changed the title updating nm-web-shared dev package Auth token in session storage instead of local storage Oct 24, 2019
Copy link

@Schatzman Schatzman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed and sort of tested.

@sperry94 sperry94 merged commit 7d2fc8d into logrhythm:7.2.0_NM Oct 24, 2019
@sperry94 sperry94 deleted the token-in-session branch October 24, 2019 20:13
sperry94 added a commit that referenced this pull request Jan 30, 2020
* updating nm-web-shared dev package

* updating shared pkg dev version

* updating shared web pkg
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

Successfully merging this pull request may close these issues.

2 participants