By: Ramkumar Chandrasekaran user 05 May 2017 at 4:53 p.m. CDT

3 Responses
Ramkumar Chandrasekaran gravatar
While user registration apart from userid and password the image (custom attribute) for particular user is stored in Gluu LDAP using SCIM. We need to customize Gluu openid/idp login page, where on screen1 the user get userid text displayed and on second screen2 the user will see the image\Password text box. It is possible to use custom script and customize the login screen. Thanks Regards Ramkumar.C

By Aliaksandr Samuseu staff 05 May 2017 at 8:06 p.m. CDT

Aliaksandr Samuseu gravatar
Hi, Ramkumar. Not sure whether your question is about custom auth script, or customizing login pages. Or may be both? Yes, it's possible to have 2 and more steps in your auth scripts, and you have few limits regarding what you can do in each step. Usually anything python can handle is possible. Customizing login pages is mostly a regular web development task, and it's something we encourage our users to do themselves (some exceptions are possible for our customers, though).

By Michael Schwartz Account Admin 07 May 2017 at 11:54 a.m. CDT

Michael Schwartz gravatar
Yes, it is absolutely possible. You'll have to write a custom login script where step 1 is username form, and step 2 is the password form. We have many examples of custom interception scripts here: Scripts [https://github.com/GluuFederation/oxAuth/tree/master/Server/integrations](https://github.com/GluuFederation/oxAuth/tree/master/Server/integrations) XHTML [https://github.com/GluuFederation/oxAuth/tree/master/Server/src/main/webapp/auth](https://github.com/GluuFederation/oxAuth/tree/master/Server/src/main/webapp/auth) Also, read the docs on writing a [custom interception script](https://gluu.org/docs/ce/3.0.1/admin-guide/custom-script/).

By Aliaksandr Samuseu staff 16 May 2017 at 3:05 p.m. CDT

Aliaksandr Samuseu gravatar
Hi, Ramkumar. What other questions do you have? Should we close the ticket?