academe-kit 0.6.5 → 0.6.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.esm.js +2 -1
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -6289,10 +6289,11 @@ const SecurityProvider = ({ apiBaseUrl = "https://stg-api.academe.com.br", skipA
|
|
|
6289
6289
|
console.log("[KC LOGOUT - OIDC]");
|
|
6290
6290
|
setCurrentUser(null);
|
|
6291
6291
|
auth.removeUser();
|
|
6292
|
-
auth.
|
|
6292
|
+
auth.signoutSilent({
|
|
6293
6293
|
id_token_hint: auth.user?.id_token,
|
|
6294
6294
|
});
|
|
6295
6295
|
auth.clearStaleState();
|
|
6296
|
+
window.location.reload();
|
|
6296
6297
|
}, [auth]);
|
|
6297
6298
|
// SignOut para modo mobile
|
|
6298
6299
|
const signOutMobile = React2.useCallback(() => {
|