From ed7fb6a2cd2acb9c4e148dee226f9d375a7714cd Mon Sep 17 00:00:00 2001 From: Mats Andreassen Date: Mon, 16 Nov 2020 09:01:33 +0100 Subject: [PATCH] Redirect to postLogoutRedirectUri after mock logout --- src/lib/auth-provider.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/auth-provider.js b/src/lib/auth-provider.js index e8f035c..ec33d95 100644 --- a/src/lib/auth-provider.js +++ b/src/lib/auth-provider.js @@ -167,6 +167,7 @@ export const MsalProvider = ({ if (isMock) { console.log('mock logout') window.sessionStorage.clear() + window.location.replace(postLogoutRedirectUri) return }