oidc-client-ts icon indicating copy to clipboard operation
oidc-client-ts copied to clipboard

The operation is insecure error on Safari

Open adrien-constant opened this issue 10 months ago • 1 comments

Latest version, with Safari 18.2

The operation is insecure.
OidcClientSettingsStore@https://localhost:3000/static/js/bundle.js:174029:59
UserManagerSettingsStore@https://localhost:3000/static/js/bundle.js:175436:10
UserManager@https://localhost:3000/static/js/bundle.js:175849:49

After digging a bit, it seems default security values of Safari prevent the use of both local storage and session storage :

> localStorage.length
< SecurityError: The operation is insecure.
> sessionStorage.length;
< SecurityError: The operation is insecure.

adrien-constant avatar Dec 24 '24 15:12 adrien-constant