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

A .NET MVC web application that uses OpenID Connect to sign-in users from a single Azure Active Directory tenant.
159 stars 109 forks source link

Root Level Web.config points to https://login.mircosoftonline.com #17

Closed edrohler closed 6 years ago

edrohler commented 9 years ago

This sample works after you change the ida:AADInstance value to login.windows.net{0} in the root level web.config.

dstrockis commented 9 years ago

Hi Eric - this is by design. https://login.microsoftonline.com should work. What error were you seeing?

edrohler commented 9 years ago

I can't really recall but I think it would read that unable to access remote host login.microsoftonline.com.. Or something like that. I was using a pure MVC 4.5.2 application.

jmprieur commented 6 years ago

This also works with login.microsoftonline.com.