Problems logging out K2

  • 16 May 2018
  • 4 replies
  • 104 views

Dear all,

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!


4 replies

Badge +12

Hi,

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

Hi ajo,

Thanks your reply.

We use the User menu to logout. We encountered an error: "Invalid redirect url", when we use reverse proxy to expose intranet k2 site url to external. Please see the attachment. Do you know the reason for this error?

 

Thank you very much.


Userlevel 6
Badge +16

Hi,


 


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.

Badge +9

Hi RayFor,


 


I get the same, the problem here is, is that the RedirectURL is the following:


https://[hostname]/workspace


 


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" />


 


-Jean


 


 

Reply