Is that possible to force email for social login?

While inviting users to subscribe, i would like them to subscribe with a particular email “johnx@acompany.fr”, and allow them to use Social Login like Microsoft or Google login.

Can i force “johnx@acompany.fr” for Microsoft and Google login ? Or at least display a message in auth0 login “you should login with “johnx@acompany.fr””

Thanks for your help !

Hi @clement1,

Welcome to the Auth0 Community!

The best way to force your users to log in using only Social Connections is to disable all other Database Connections except for the selected Social Connections on your application.

You can do so by navigating to Applications>YOUR APP>Connections on your Auth0 Dashboard and switching off all the Database Connections.

After doing so, your application should only require Social logins. Note that Social sign-up will not be an option on your application since that would be the responsibility of the Identity Provider. In this case, the Social Identity Provider, Google, and Microsoft would handle user registration.

Please let me know if there are further questions. I would be glad to help.