session correction logout 3 rest 3
This commit is contained in:
parent
8c824b4308
commit
3886c4ef6a
@ -350,7 +350,7 @@ export function MainNav() {
|
||||
<DropdownMenuItem
|
||||
className="text-white/80 hover:text-white hover:bg-black/50 cursor-pointer"
|
||||
onClick={() => signOut({
|
||||
callbackUrl: `${process.env.NEXT_PUBLIC_KEYCLOAK_ISSUER}/protocol/openid-connect/logout?post_logout_redirect_uri=${encodeURIComponent(window.location.origin)}`,
|
||||
callbackUrl: '/signin',
|
||||
redirect: true
|
||||
})}
|
||||
>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user