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?
Including these two parts in the config file ended up working once I configured the Terms.aspx page correctly with the FederatedPassiveSignIn object on the Terms.aspx page.
In the configuration tag:
In the system.web tag: