User Attribute condition in authentication flows

539 views
Skip to first unread message

Emma Richardson

unread,
Nov 29, 2022, 5:35:14 PM11/29/22
to Keycloak User
I am wanting my users to enter an email address and if it is from a specific domain forward them to Google idp...can I use the User Attribute condition to achieve this?  Would I put the value in the *@mydomain.com format or can I just use mydomain.com and will it search within the email address for that?  Or can that only be used for exact values?
Also, how do I get the IDP to load on the email entry if true and the password field to load if false?

Thomas Darimont

unread,
Nov 29, 2022, 5:41:19 PM11/29/22
to Emma Richardson, Keycloak User
Hello Emma,



On Tue, 29 Nov 2022, 23:35 Emma Richardson, <emm...@gmail.com> wrote:
I am wanting my users to enter an email address and if it is from a specific domain forward them to Google idp...can I use the User Attribute condition to achieve this?  Would I put the value in the *@mydomain.com format or can I just use mydomain.com and will it search within the email address for that?  Or can that only be used for exact values?
Also, how do I get the IDP to load on the email entry if true and the password field to load if false?

--
You received this message because you are subscribed to the Google Groups "Keycloak User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to keycloak-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/keycloak-user/d424caa4-f09f-4edf-a6c4-debc0af1d1c3n%40googlegroups.com.

Emma Richardson

unread,
Nov 29, 2022, 5:45:48 PM11/29/22
to Thomas Darimont, Keycloak User
Well, you are just amazing!!  Thank you - now I have my project for tomorrow!!

Emma Richardson

Emma Richardson

unread,
Dec 1, 2022, 3:54:15 PM12/1/22
to Keycloak User
Got this working just as needed.  Thanks again!
Reply all
Reply to author
Forward
0 new messages