Search code examples
authenticationasp.net-identityazure-active-directoryasp.net-core-2.1

Remember password with Azure AD authentication


I have a .NET Core 2.1 web application which uses .NET Identity. I use Azure AD to authenticate users. Client needs ability to remember password, so that they do not have to enter it every time. Is there a way to persist user's login with Azure AD in my web app?

Workflow: User clicks the login button, redirected to Microsoft login page where they enter their Azure AD credentials to authenticate, if login successful, redirected back to web application.

Right now, user has to enter username and password every time they use the application. They can save their password or login with Microsoft, but they still need to visit Microsoft's login page. How can I save their login in web application and avoid redirecting to Microsoft's login page?


Solution

  • The user can check "remember password" when logging in to avoid needing to enter the password again.

    You cannot, however, skip the sign-in page. You can customize the appearance but redirecting there is unavoidable.

    You can request this feature on User Voice if you wish. https://feedback.azure.com/forums/169401-azure-active-directory