Saturday, September 1, 2012

Adding a conditional redirect with Windows Identity Foundation

Adding a conditional redirect with Windows Identity Foundation

My silverlight project, Relaying Party (RP), uses WIF with passive authentication to control access. I need to add the ability to add a redirect to the login path.

When someone tries to access a page, they are redirected to the IP-STS to authenticate. Once Authenticated I want display a License agreement. Once the user hits ok, they would be redirected to the original page.

The path would be:

any site within the RP => IP-STS => License agreement => original Site

If it is easier, it would also be acceptible to display the agreement before going to STS, such as:

any site within the RP => License agreement => IP-STS => original Site

Ultimately, I want to set a cookie on the License agreement so that once it is accepted the user wouldn't have to see the license agreement anymore.

Does anyone have advice on this?

Answers & Comments...




No comments:

Post a Comment

Send us your comment related to the topic mentioned on the blog