0

We want to implement microsoft 2FA in our mvc application. our network team asked 2 things to share.

1-Entity ID

2- ACS URL

How can we implement entity ID and ACS URL in MVC application. Any help will be highly appreciated.

We have analyzed entity id is unique and ACS is our application url where we have deployed.

But we are unable to identify how entity id and ACS method look.

raj
  • 1
  • 1
  • See following : https://www.c-sharpcorner.com/article/azure-active-directoryad-authentication-using-asp-net-core-6/?force_isolation=true – jdweng Jun 01 '23 at 10:59

1 Answers1

0

we are unable to identify how entity id and ACS method look.

1-Entity ID

Entity ID can be found in the Registered Application in AAD.

The syntax of the EntityID will be like below.

https://**********/YourTenantID/

Navigate to the AAD => App Registration => Your App => Endpoints.

You can see the endpoint related to SAML at the bottom.

enter image description here

2- ACS URL

As per this Doc, ACS has been deprecated.

Instead use the authorization endpoint.

enter image description here

Refer this Azure AD SAML for more details.

I found a package reference Sustainsys.Saml2.Mvc.

The package adds an MVC controller that handles the SAML SignIn and SignOut.

Also refer this SOThead which explains the similar kind of issue.

Harshitha
  • 3,784
  • 2
  • 4
  • 9
  • Can you please share the sample code for this we checked Sustainsys.Saml2.Mvc. web.config but it is not working. – raj Jun 26 '23 at 06:27