Azure-Samples / active-directory-dotnet-webapp-wsfederation

A .NET MVC web application that uses WS-Federation to sign-in users from a single Azure Active Directory tenant, using the ASP.Net WS-Federation OWIN middleware.
MIT License
64 stars 52 forks source link

IDX10214 error on signing in #3

Open pmbanka opened 8 years ago

pmbanka commented 8 years ago

Instruction for this sample has a small error, resulting in inability to sign in.

The problem is in Web.config. This:

<add key="ida:Wtrealm" value="your-app-client-id" />

should be instead:

<add key="ida:Wtrealm" value="spn:your-app-client-id" />

This was also mentioned in https://github.com/Azure-Samples/active-directory-dotnet-webapp-wsfederation/pull/1