logoutSSO

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-06-23 10:47:10 +07:00
parent fdbda02712
commit 66a8302e68
2 changed files with 8 additions and 1 deletions

View file

@ -87,6 +87,11 @@ async function redirectToLandingPage() {
window.location.href = key_C_Config.landing_PageUrl;
}
async function logoutSSO() {
await deleteCookie(ACCESS_TOKEN);
window.location.href = key_C_Config.landing_PageUrl + `/logout`;
}
export {
getToken,
authenticated,
@ -95,4 +100,5 @@ export {
tokenParsed,
getCookie,
redirectToLandingPage,
logoutSSO,
};