Currently, I'm using ITFoxTec
for our ASP.NET Core
project for SAML2
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.
- All our employees can access the web application using the IdP/Metadata for normal users.
- After the authentication, the system must detect if the user has the role of admin
- If the user is admin he will log out from the normal user authentication, and redirect the user to the admin user SAML2 Authentication.
For ITFoxtec
, I just followed the codes on this page:
https://www.itfoxtec.com/identitysaml2
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.