Forums de discussion

Problem using remote CrowdID server for OpenID Login (Liferay 5.1.2

Rainer Montag, modifié il y a 15 années.

Problem using remote CrowdID server for OpenID Login (Liferay 5.1.2

New Member Publications: 9 Date d'inscription: 17/11/08 Publications récentes
Hello,

I'm currently facing a weird problem imtegrating Liferay (5.1.2) to use with CrowdID as OpenID-Provider.

When installing Liferay and Crowd on my local machine everything is working as expected:

1) My OpenID Account is "http://localhost:8095/openidserver/users/myaccount". I'm not already authenticated in CrowdID.
2) When I enter the OpenID in the Open ID Login Portlet of Liferay I get forwarded to the CrowdID server to authenticate (Login PAge of CrowdID)

When using a remote CrowdID server not on my machine it does not work:

1) My OpenID Account is "http://<remotehost>:8095/openidserver/users/myaccount"
2) When I enter the OpenID in the Open ID Login Portlet of Liferay, Liferay is still forwarding me to "http://localhost:8095/openidserver" (according to my firefox browser) on my local machine, ignoring the <remotehost> in my url.

Interestingly, when first logging in on the remote CrowdID server and then using the OpenID to log in via Liferay OpenID Protlet, I get correctly forwarded to the remote Crowd server. But if I'm not authentificated in CrowdID before login, forwarding to Crowd server does not work for me.

This is currently a big blocker for my project I need to resolve.

Has anyone successfully set up Liferay 5.1.X with a remote CrowdID server ? Or does anyone have an idea, if I have to change something in configuration - either Liferay or Crowd - to make forwarding to remote CrowdID server working ?

Thanks in advance,
Rainer
Rainer Montag, modifié il y a 15 années.

RE: Problem using remote CrowdID server for OpenID Login (Liferay 5.1.

New Member Publications: 9 Date d'inscription: 17/11/08 Publications récentes
I have reslved this issue. It was not a problem with liferay.

CrowdID has sent a wrong redirect request leading to the wrong page. After correcting the setting in CrowdID everything is working as expected.

Sorry for wasting time,
Rainer