Thursday, November 21, 2013

WIF: ID3206: A SignInResponse message may only redirect within the current web application: '/app' is not allowed.

After creating a web application, I configured it to authenticate with ADFS through WIF. However when I browsed to the application, after authenticating, it failed with the following message:

ID3206: A SignInResponse message may only redirect within the current web application: '/app' is not allowed. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: Microsoft.IdentityModel.Protocols.FederationException: ID3206: A SignInResponse message may only redirect within the current web application: '/app' is not allowed.

The strange thing is that it works when I add a trailing slash to the application url, e.g. https://localhost/app/ instead of https://localhost/app 

Anyone with a suggestion how to fix it?

3 comments:

Anonymous said...

Hi,

Did you ever resolve this issue?

Thanks

Anonymous said...

Hi,

Did you ever resolve this error?

Thanks

Bart Wullems said...

We didn't really fix it, but added an URL rewrite rule in IIS that adds a trailing slash