title: Error - A SignInResponse message may only redirect within the current web application - MVC 2.0 application
body: <p>I have a situation where we have a MVC 2 application(I tried this with a basic MVC 2 app without any extra stuff, still same problem) and am using adfs 2 for authenticating my users.</p>
  
  <p>So..
  Now I get into my application and I get the below..
  <strong><em>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.</em></strong></p>
  
  <p>I have read most blogs on this, and posted to one..</p>
  
  <pre><code>    &lt;federatedAuthentication&gt;
              &lt;wsFederation passiveRedirectEnabled="true" issuer="https://auth.[domain]/adfs/ls/" realm="https://[development domain]/[app]/" requireHttps="true" /&gt;
              &lt;cookieHandler requireSsl="true" /&gt;
            &lt;/federatedAuthentication&gt;
  &lt;audienceUris&gt;
      &lt;add value="https://[development domain]/[app]/" /&gt;
    &lt;/audienceUris&gt;
  </code></pre>
  
  <ol>
  <li>I have the trailing slash on the realm and audienceUris. </li>
  <li>I have added what he suggested to Application_BeginRequest – I then copied code to [development domain] as that’s where the certs are.. It just gets stuck in an infinite loop then.</li>
  <li>I also have checked my Relying Party on the Geneva server.. The Identifiers and Endpoints(POST) are both https://[development domain]/[app]/ - again with the trailing slash</li>
  </ol>
  
  <p>I think it’s a problem with the fact it’s a MVC application, I have created numerous Claims Aware website and got my claims etc on the default.aspx page. My thinking is that the routing that is involved with the MVC app is somehow posting it back wrong?</p>
  
  <p>any help really apprecaited as Im looking at this for quiet a while now to no avail..</p>
  
  <p>J</p>