-
Notifications
You must be signed in to change notification settings - Fork 423
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
[Bug]: Crash on page load if cookies and site data are disabled #1660
Comments
The lib does not use cookies or same site features. If this happens, it's the settings on the OIDC server. |
@damienbod that is not true. If you look at the crash dump, the crash happens in the DefaultSessionStorageService which is the default storage mechanism of your library. sessionStorage is accessed without checking if it is available. sessionStorage and localStorage are not available, if you disable Cookies and Site Data in your browser settings. |
ah, ok the app uses session storage per default. If you disable this it will not work and you would need to implement some type of custom storage. Question is, why would you disable session storage? We could add docs for this, good? Greetings Damien |
I run a public website with enough visitors to say: These people exist, and from time to time someone complains about this crash. The problem, in my opinion, is that loading the website already causes this crash. It is not necessary to click on the login button. There is no way for me to catch this error, the library has to do so. |
Version
14.1.5
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
A clear and concise description of what you expected to happen.
Additional context
No response
The text was updated successfully, but these errors were encountered: