By: Fred Pedro user 20 Jan 2017 at 2:33 a.m. CST

4 Responses
Fred Pedro gravatar
I'm configuring our two portals(Service Providers) to use our Gluu Server as the Identity Provider. The first portal is a Ckan server using ckanext-saml2(https://github.com/DataShades/ckanext-saml2) extension to enable SAML authentication. The second portal is an Angular 2 site using passport-saml2(https://github.com/bergie/passport-saml) module for SAML authentication as well. I'm able to view the login pages for both portals. But the weird thing is that one of the portals has a login page different from the other. I was thinking that perhaps it's because of the configuration I placed on both SPs. **This is the login page from Ckan SP** ![enter image description here](http://i.imgur.com/GnbIUge.png "") **This is the login page from Angular 2(passport-saml2) SP** ![enter image description here](http://i.imgur.com/Ct2uuVn.png "enter image title here")

By Mohib Zico staff 20 Jan 2017 at 2:45 a.m. CST

Mohib Zico gravatar
Can you please check what 'idp-process.log' saying for 2nd SP? The Shibboleth login page ( orange one ) is not correct for Gluu Server authentication.

By Fred Pedro user 20 Jan 2017 at 3:15 a.m. CST

Fred Pedro gravatar
Hi Mohib, Here are that lines printed in idp-process.log when accessing the second login page. I already adjusted the log level to ALL if it could help in looking for the culprit. http://pastebin.com/h8nAH9bJ

By Mohib Zico staff 20 Jan 2017 at 3:25 a.m. CST

Mohib Zico gravatar
Ok... let's try to disable 'Username/password login handler' from `handler.xml.vm` ( location: /opt/tomcat/conf/shibboleth2/idp ). Restart tomcat. Try again.. let's see how it goes.

By Fred Pedro user 20 Jan 2017 at 3:53 a.m. CST

Fred Pedro gravatar
It now directs to login page similar to the first portal. Here is the new log file after I disabled Username/Password Login Handler. http://pastebin.com/YCcKPqRk