05-15-2018 06:51 PM
Our K2 Five use the Windows STS. We encountered a problem when we use the User menu to logout. Logout URL: https://[hostname]/workspace/_trust/Logout.aspx?ReturnURL=https%3A%2F%2F[hostname]%2Fworkspace%2F. K2 does not log out but back to workspace page.
Can you tell me how can I log out?
Thans very much!
05-15-2018 11:02 PM
As you are using Windows STS, you won't be completely logged out unless you clear the browser cache and/or re-open the browser. You may consider using Forms STS instead: http://help.k2.com/support-services/kbt142034
05-16-2018 03:16 AM
05-16-2018 05:05 PM
Perhaps, you can set the SignOutReplyUri in the [Identity].[ClaimRealm] table to a generic page (i.e. https://google.com) to bypass the redirect URl.
05-17-2018 02:55 AM
I get the same, the problem here is, is that the RedirectURL is the following:
So it basically redirects to workspace, and automatically logs you in.
NOTE: This is true if you are running Windows STS and nothing else.
You can add the following line in the AppSettings in your Runtime web.config:
<add key="Forms.Authentication.LogoutUrl" value="https://[hostname]/runtime/_trust/Logout.aspx" />