Add sign-in to Microsoft to an ASP.NET web app

Philippe JANKOWSKI 1 Reputation point
2022-11-21T18:32:07.033+00:00

Hello, I work for a school and they would like to implement a MS sign in on an app.
The AD admin gave me this link https://learn.microsoft.com/en-us/azure/active-directory/develop/tutorial-v2-asp-webapp.
The flow goes well until I log off then when I try to sign in, northing happens.
But if I reload my environement in visual studio I can normally sign in.
May you help me ?
Thanks

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,591 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Philippe JANKOWSKI 1 Reputation point
    2022-11-24T08:35:38.647+00:00

    Hi @Shweta Mathur , thanks for your answer.
    I forgot to say that I've the same problem with localhost and in production.
    If I wait long enough ( 1-2 days ) , I can sign in with my microsoft account again. But if I logoff, I can't resign in.
    ( for me it looks like a problem of cookies ? )
    I'm not a specialist , your answer stays the same even with those new infos ?
    There's another way to implement a MS sign in ?

    Thanks !

    0 comments No comments