We\'re developing a custom identity Provider(STS) to authenticate our applications. In this project we\'re using the Azure Acesses Control Services 2.0 and our Identity provider
The wctx
parameter should not be consumed by your identity provider. The intent of this parameter is for your RP to store any data it needs, which will be returned to it along with the token when ACS sends a WS-Federation sign-in response. If you want to send a message to your identity provider, the easiest way to do so is to host your own HRD page, as in the "Option 2: Host a Custom Login Page" section of this MSDN page. Download the linked sample in your namespace as a starting point and then modify the code below:
// Sets a cookie to remember the chosen identity provider and navigates to it.
function IdentityProviderButtonClicked() {
SetCookie(this.getAttribute("name"));
// Add any extra query parameters you want before redirecting.
window.location = this.getAttribute("id") + "&extraParameter=value";
return false;
}
Any extra parameters you want to pass can be added in this way and will make it to your identity provider.