Allow known users to log in to my web app (SPA) with Entra Id
We have a web application (SPA) where users log in with mail address and password.
A particular customer is using Entra Id for the organisation's users.
Most of their users are known in our application thru matching email addresses.
I'd like to offer those users to log in using Entra Id and Single Sign-on.
In Microsoft Entra Admin Center, we've created a tenant and added our application.
We’ve changed our app to accept login with MSAL.
The login works fine, but only with the two users we've added manually.
Is there any way to accept all users?
In principle any user with valid id from Microsoft is ok for now.
We have set up the application with ‘Accounts in any organizational directory (Any Microsoft Entra ID tenant - Multitenant) and personal Microsoft accounts (e.g. Skype, Xbox)’