Remove the Native Username/Password Form

To remove the native username/password form – is it only possible via themes (not via an Authentication Flow setting)?

I’ve been banging my head against the wall on this – a kind soul on stackoverflow provided a suggestion that changes are via themes -it’s is correctly tested as per the stackoverflow suggestion; wondering if anyone could confirm that themes is the way to go (or only way)?

Thank you.

You can remove it in the Browser Authentication Flow. What do you want to replace them with?

1 Like

Thank you for your guidance.

I would like to only show the Identity Providers as the authentication workflow (no native authentication).

Would it be removing the AuthType ‘Forms’ from the ‘Browser Authentication Flow’? Subsequently, if I had renamed the ‘Browser Authentication Flow’, do I add this to the client ‘Authentication Flow Overrides - Browser Flow’?

For that, I think you would have to do a custom theme, as the IdP list is part of the same template as the username/password form.

2 Likes

I hid them in the theme using CSS. Not perfect, but it gets the job done.

1 Like