Skip to content

Commit

Permalink
Redirect to postLogoutRedirectUri after mock logout
Browse files Browse the repository at this point in the history
  • Loading branch information
MatsAnd committed Nov 16, 2020
1 parent 05b5782 commit ed7fb6a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/auth-provider.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ export const MsalProvider = ({
if (isMock) {
console.log('mock logout')
window.sessionStorage.clear()
window.location.replace(postLogoutRedirectUri)
return
}

Expand Down

0 comments on commit ed7fb6a

Please sign in to comment.