Hide login with username/password and only show login with entra id

I’m currently trying to configure a login experience where we have 2 types of users, one uses email/password to login and other uses enterprise connection (Microsoft Azure AD).
I want the email/password login to be handled EXCLUSIVELY by our application with an api call to auth0 for the first type and for the second type of user I just want them to have Login with Azure button and nothing else to cause confusion.
How can I hide the email/password login on this page?
Alternatively, how else can this be done better?

Hi @dudeman344,

Welcome to the Auth0 Community!

You can create a custom page in HTML with a “Login with Azure” button and use the Auth0.js library to call the Auth0 API and bring up the Microsoft Login menu, and not add any inputs for email or password for the Database Connection, while still keeping it enabled for the app, to let the Auth0 API be callable by your app.

https://auth0.com/docs/libraries/auth0js#webauth-authorize

If you have any further questions, please don’t hesitate to ask.

Have a good one,
Vlad