Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ADFS 2.0 signout redirect not functioning

In order to sign out of a web app using ADFS for authentication, using a URL that follows this form:

https://{DNS_name_of_RP_STS}/adfs/ls/?wa=wsignout1.0&wreply={post-sign-out_landing_URL}

works fine. The user is taken to an ADFS site page that notifies them that they've signed out. What isn't happening is redirecting back to the web app. I've spent a long time looking around online and I am pretty confused now as to if this is possible with the wreply parameter or not. There are a few spots on msdn and blogs where it is said to just work by supplying a wreply value, but it seems like most people are not having any luck with navigating back to the RP site.

Question: On signing out from ADFS, is it possible to automatically return to the RP app? Has anyone done this successfully? There's a "Sign in as different user" option that needs to end up with the user seeing the RP sign in page.

Thanks in advance to anyone who replies.

like image 711
user19467 Avatar asked Oct 21 '22 01:10

user19467


1 Answers

The url cannot be just any url but rather the same exact url your application is registered in adfs for.

The redirect works and always worked for us.

like image 125
Wiktor Zychla Avatar answered Oct 24 '22 11:10

Wiktor Zychla