3

How to disable username/password login for external IDP ?

I know that I can use custom theme to hide http form, but I want to do it properly.

As far as I know I have to create at least custom First Broker Login and Browser authentication flow, right?

After first login from IDP I have to create user in Keycloak, but do not leverage password option.

Also Browser flow must be updated to not show username/password form, right?

Can anyone provide proper example ?

Thanks

MUHAHA
  • 552
  • 9
  • 22
  • Did you find a solution to this? I had posted a similar question on keycloak mailing list but haven't got any response yet: http://lists.jboss.org/pipermail/keycloak-user/2018-August/015134.html – tryingToLearn Aug 29 '18 at 07:54
  • 2
    Have a look at: https://stackoverflow.com/a/52176780/2458858 – tryingToLearn Sep 05 '18 at 03:52

1 Answers1

-1

Try this costum Authentication flow

Costum Authentication Flow

By Automatically linking brokered account, the user won't have to set a password. as for the username it will be automatically imported from the identity provider.

Jason Aller
  • 3,391
  • 28
  • 37
  • 36
Kyouma
  • 11
  • 1
  • A link to a solution is welcome, but please ensure your answer is useful without it: [add context around the link](https://meta.stackexchange.com/a/8259) so your fellow users will have some idea what it is and why it’s there, then quote the most relevant part of the page you're linking to in case the target page is unavailable. [Answers that are little more than a link may be deleted](https://stackoverflow.com/help/deleted-answers). – brass monkey Jul 18 '19 at 13:56