Home Forum Blog Market Events Resources
Showing results for 
Search instead for 
Do you mean 
Highlighted
Contributor
Posts: 39
Registered: ‎01-16-2018

Problems logging out K2

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!

Moderator
Moderator
Posts: 210
Registered: ‎08-19-2014

Re: Problems logging out K2

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

Any views or opinions presented in this post are solely those of the author and do not necessarily represent those of the organization. The organization will not accept any liability for any issues arising from the actions taken in respect of the information provided by any forum member.
Contributor
Posts: 39
Registered: ‎01-16-2018

Re: Problems logging out K2

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.

Moderator
Posts: 332
Registered: ‎03-22-2013

Re: Problems logging out K2

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.

K2 will not accept any liability for any issues arising from actions taken in respect of the information provided by any forum member.
Moderator
Posts: 76
Registered: ‎03-11-2014

Re: Problems logging out K2

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