By: Omid Rr user 15 Jun 2022 at 4:08 a.m. CDT

7 Responses
Omid Rr gravatar
Hello, I'm currently investigating using Gluu or not. I would like to know if it is possible to have a two step login or not, first step ask for the email, then based on some defined rules (like domain of the email, or idp_hint, or ...), redirect user to the proper IdP or ask for the password. If so, could you please lead me to the proper documentation. Thanks

By Thomas Gasmyr Mougang staff 15 Jun 2022 at 4:44 a.m. CDT

Thomas Gasmyr Mougang gravatar
Yes, it is possible to have multi step login process. Custom authentication script is the way to achieve that. See this link https://gluu.org/docs/gluu-server/4.1/developer-guide/tips-cust-script-pages/

By Omid Rr user 15 Jun 2022 at 4:52 a.m. CDT

Omid Rr gravatar
Thanks. So I need to have Java knowledge.

By Thomas Gasmyr Mougang staff 15 Jun 2022 at 5:09 a.m. CDT

Thomas Gasmyr Mougang gravatar
Python and/or Java

By Omid Rr user 15 Jun 2022 at 5:09 a.m. CDT

Omid Rr gravatar
Thanks

By Omid Rr user 15 Jun 2022 at 5:24 a.m. CDT

Omid Rr gravatar
What about just checking for domain of emails, @Thomas Gasmyr.Mougang ?

By Thomas Gasmyr Mougang staff 15 Jun 2022 at 5:25 a.m. CDT

Thomas Gasmyr Mougang gravatar
You can implement that logic in your custom authentication script

By Omid Rr user 15 Jun 2022 at 5:33 a.m. CDT

Omid Rr gravatar
OK, thanks :)