feat: Add logout for oidc (#2840)

* add oidc logout route, button in menu

* removed old comments

* use local storage to trigger signout in other tabs

* refactored to make use useEffect

* cleaned up comments

* fix remove event listener

* moved remove leftover storage variable to beginning of usemount

Co-authored-by: Michael Andersen <Michael.Andersen@rmp.uhn.ca>
This commit is contained in:
Michael AndersenandMichael Andersen authored and GitHub committed 2022-10-06 22:40:16 -04:00
1 parent e401358887
commit 1d47f31738
7 files changed
+119 -46

No files matched your search

+3 -2
View File
@@ -4,5 +4,6 @@
"INVESTIGATIONAL USE ONLY": "INVESTIGATIONAL USE ONLY",
"Options": "Options",
"Preferences": "Preferences",
"Study list": "Study list"
}
"Study list": "Study list",
"Logout": "Logout"
}