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

Save auth metadata in session storage #280

Merged
merged 1 commit into from
Aug 16, 2023
Merged

Conversation

jfredrickson5
Copy link

The auth metadata stored in localStorage is specific to each environment. When we started using multiple environments, this presented a problem where the user would not be able to log in unless they manually went in to clear their localStorage data. This change switches from using localStorage to sessionStorage. That way, the user just has to end their session in order to be able to sign in to a different environment.

@mark-meyer
Copy link
Contributor

@jfredrickson5 Thank you! I just showed Andrew how to clear localStorage because he is giving a demo tomorrow. If it's okay with you, let's wait until tomorrow after his demo to merge this.

@mark-meyer mark-meyer mentioned this pull request Aug 15, 2023
Merged
Copy link
Contributor

@mark-meyer mark-meyer left a comment

Choose a reason for hiding this comment

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

Looks good. This is deployed on dev and should get pulled into staging on the next dev->staging merge.

@mark-meyer mark-meyer merged commit 302a400 into staging Aug 16, 2023
4 checks passed
@JessicaMarine1 JessicaMarine1 deleted the jf/auth-metadata-storage branch September 22, 2023 15:48
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.

3 participants