You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Warning: (ae-missing-release-tag) "EventCallbackFunction" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
**WARNING:** Skipping the server sign-out means the user's session will remain active on the server and can be signed back into your application without providing credentials again.
65
64
66
-
If you want your application to only perform local logout you can provide a callback to the `onRedirectNavigate` parameter on the request and have the callback return false.
65
+
If you want your application to only perform local logout you can provide a callback to the `onRedirectNavigate` parameter in the configuration and have the callback return false.
67
66
68
67
```javascript
69
-
msalInstance.logoutRedirect({
70
-
onRedirectNavigate: (url) => {
71
-
// Return false if you would like to stop navigation after local logout
// Return false to stop navigation after local logout
165
-
returnfalse;
166
-
}
167
-
});
172
+
msal.logoutRedirect();
168
173
```
169
174
170
-
Now when a user logouts out of another application, your application's front-channel logout url will be loaded in a hidden iframe, and MSAL.js will clear its cache to complete single-sign out.
171
-
175
+
Please note that front-channel logout is not always supported across browsers. Chromium enabled [Storage Partitioning](https://privacysandbox.google.com/cookies/storage-partitioning) and Firefox supports [similar standard](https://developer.mozilla.org/en-US/docs/Web/Privacy/Guides/State_Partitioning) limiting applications to execute front-channel logout. For official Entra documentation on this topic, see [here](https://learn.microsoft.com/en-us/entra/identity-platform/reference-third-party-cookies-spas#limitations-on-front-channel-logout-without-third-party-cookies).
172
176
173
177
### Front-channel logout samples
174
178
175
179
The following samples demonstrate how to implement front-channel logout using MSAL.js:
This script decodes hashed logging strings from browser console logs back to their original messages.
4
+
5
+
## Overview
6
+
7
+
The MSAL Browser library hashes logging strings to reduce bundle size. When running in a browser, console logs display these hashes instead of full messages. This decoder script transforms those hashed logs back into readable messages and saves them to a new file.
8
+
9
+
## Log Format
10
+
11
+
The script expects log files where each MSAL log entry follows this format:
0 commit comments