'How to implement SAML SSO with AZURE AD in ASP.NET MVC Web Application
I create a simple .NET web application and I want to implement SAML SSO with Azure AD. I am using .NET version 4.8. I couldn't find any documentation to set up my project as the Service provider to connect with IDP(Azure AD). Are there any libraries in ASP.NET (with documentation) to set up my web application as Service Provider?
Please help me with this
Solution 1:[1]
To implement SAML SSO with Azure AD, please follow the below steps:
Make use of miniOrange plugin which is plugin or libraries to connect ASP. net application with Azure AD SSO
To Add Azure AD in ASP. NET SAML Module, Go to plugin settings and select Azure Ad
In Service Provider Settings option, copy the Idp metadata Url.
To Configure Azure AD as Identity Provider, Go to Azure Portal -> Azure Active Directory -> Enterprise Applications -> Add New application -> Create your own Application -> Give App name and select create.
Go to the created application -> Select Single sign-on ->Select SAML -> Give required details by editing basic SAML configuration.
Make a note of App Federation Metadata Url and Assign users and groups to your application.
- To configure ASP. NET SAML Module as Service Provider, Go to the miniOrange ASP. NET SAML SSO module -> Click on Upload IDP Metadata -> Paste the copied metadata Url from your Idp -> Select Fetch Metadata -> Save.
Please check the below reference to know complete information about the above process:
ASP.NET Single Sign On SSO using Azure AD as IDP (miniorange.com)
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 |

