title: WSFederationAuthenticationModule.RedirectingToIdentityProvider event is not called
body: <p>I have 2 events in my Global.asax.cs file</p>
  
  <p><strong>WSFederationAuthenticationModule_SecurityTokenValidated</strong> and <strong>WSFederationAuthenticationModule_RedirectingToIdentityProvider</strong></p>
  
  <p>WSFederationAuthenticationModule_RedirectingToIdentityProvider is not called by wif engine. Why?</p>
  
  <pre><code>public class MvcApplication : System.Web.HttpApplication
  { 
      void WSFederationAuthenticationModule_SecurityTokenValidated(object sender, SecurityTokenValidatedEventArgs e)
      {
          FederatedAuthentication.SessionAuthenticationModule.IsSessionMode = true;
      }
  
  
      void WSFederationAuthenticationModule_RedirectingToIdentityProvider(object sender, RedirectingToIdentityProviderEventArgs e)
      {
          //some code
      }
  }
  </code></pre>
  
  <p>This is microsoft.identityModel section in web.config</p>
  
  <pre><code>&lt;microsoft.identityModel&gt;
          &lt;service saveBootstrapTokens="true"&gt;
            &lt;audienceUris mode="Never"&gt;
  
            &lt;/audienceUris&gt;
            &lt;federatedAuthentication&gt;
              &lt;wsFederation passiveRedirectEnabled="true" issuer="http://localhost/dss.web.sts.tokenbaker/" realm="http://localhost/dss.web.frontend" requireHttps="false" /&gt;
              &lt;cookieHandler requireSsl="false" /&gt;
  
  
  
            &lt;/federatedAuthentication&gt;
  
            &lt;issuerNameRegistry type="Microsoft.IdentityModel.Tokens.ConfigurationBasedIssuerNameRegistry, Microsoft.IdentityModel, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"&gt;
              &lt;trustedIssuers&gt;
                &lt;add thumbprint="308efdee6453fff68c402e5eceee5b8bb9eaa619" name="servcert" /&gt;
  
              &lt;/trustedIssuers&gt;
            &lt;/issuerNameRegistry&gt;
          &lt;/service&gt;
        &lt;/microsoft.identityModel&gt;
  </code></pre>