By: matt dillenkoffer user 04 Aug 2016 at 12:39 p.m. CDT

4 Responses
matt dillenkoffer gravatar
We have a scenario where very different applications one mobile one webapp that are using gluu as their open id connect provider. Is it possible or fairly easy to have each app hit a different gluu login form. The alternative is to implement responsive design on the form which would be a little more work and I'd rather just have two forms. But whatever you guys say is a best practice is what we'd like to do. I guess what I'm asking is what is the best practice when you have a scenario like this.

By Mohib Zico staff 04 Aug 2016 at 1:16 p.m. CDT

Mohib Zico gravatar
I think responsive design would be better. The login page ( Gluu Server oxAuth ) is loading from various xhtml files located in /opt/tomcat/webapps/oxauth/

By matt dillenkoffer user 04 Aug 2016 at 1:24 p.m. CDT

matt dillenkoffer gravatar
Ok thanks.

By Yuriy Movchan staff 04 Aug 2016 at 1:32 p.m. CDT

Yuriy Movchan gravatar
You can write simple custom authentication which should return specific login page for each client.

By matt dillenkoffer user 08 Aug 2016 at 7:56 a.m. CDT

matt dillenkoffer gravatar
Yuriy, that was the much simpler solution. We can pull the client_id out of the EventContext and give different clients different login forms. Much simpler than going off and developing a special purpose responsive design form.