Skip to content

Commit 9083c2b

Browse files
committed
use local storage for msal auth state
1 parent 63a1947 commit 9083c2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ui/main.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const msalConfiguration: Configuration = {
1919
postLogoutRedirectUri: `${window.location.origin}/logout`,
2020
},
2121
cache: {
22-
cacheLocation: "sessionStorage",
22+
cacheLocation: "localStorage",
2323
storeAuthStateInCookie: true,
2424
},
2525
};

0 commit comments

Comments
 (0)