title: ASP.NET Core - SAML2 ITFoxtec - Two IDP/Metadata
body: <p>Currently, I'm using <code>ITFoxTec</code> for our <code>ASP.NET Core</code> project for <code>SAML2</code> Authentication, and is working fine, but on the policy of our company, we have to use 2(two) Idp/Metadata, one if normal users, and one is for admin users, now our is procedure is like this.</p>
  <ol>
  <li>All our employees can access the web application using the IdP/Metadata for normal users.</li>
  <li>After the authentication, the system must detect if the user has the role of admin</li>
  <li>If the user is admin he will log out from the normal user authentication, and redirect the user to the admin user SAML2 Authentication.</li>
  </ol>
  <p>For <code>ITFoxtec</code>, I just followed the codes on this page:
  <a href="https://www.itfoxtec.com/identitysaml2" rel="nofollow noreferrer">https://www.itfoxtec.com/identitysaml2</a></p>
  <p>I'm very new at this so I hope someone can help me with this, thanks everyone, I promise that if I have gain more on being a software developer, I will also share my solutions.</p>