Skip to content

Use local storage instead of session storage? #440

Closed Answered by PeterOrneholm
Max-Eriksson asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Max!
Good question. There have always been the opportunity to customize the script, without "forking" the whole library.
The script is "linked" from a separate view, and all views can be overridden, see the docs here:
https://github.com/ActiveLogin/ActiveLogin.Authentication/blob/main/docs/articles/bankid.md#customize-the-ui

Would that fit your needs?

We won't change the default implementation from sessionStorage to localStorage, but you are free to override that if it fits your needs :) By default we don't want that info to be "long lived", but rather to be cleared when the "session" ends (user navigates away/closes browser.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Max-Eriksson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants