RE: RE: Jump to OIDC provider login page directly

Olaf Kock, modified 2 Years ago. New Member Posts: 10 Join Date: 10/18/22 Recent Posts

Hi,
I am working on LF DXP 7.0 10

I just enabled the OpenID Connect; it worked fine. However, each time a user tries to access a protected page, the user has to click the ‘OpenID Connect’ and select the OIDC provider profile before getting redirected to the OIDC provider; how can I redirect the user to the OIDC provider page login page directly?

thumbnail
Zsigmond Rab, modified 2 Years ago. Liferay Master Posts: 764 Join Date: 1/5/10 Recent Posts

Hi David,

There is no ootb option for that yet. There is only a feature request for that: https://liferay.atlassian.net/browse/LPS-103563.

Regards,
Zsigmond

Jamie Sammons, modified 2 Years ago. New Member Posts: 10 Join Date: 10/18/22 Recent Posts

Hi Zsigmond,

Thanks for your information. Is it possible to DIY? For example, when a user accesses a protected page, what triggers the login in dialog? How could we route it to somewhere else? Could we call OpenIdConnectAutoLogin?

Regards,
David

thumbnail
Zsigmond Rab, modified 2 Years ago. Liferay Master Posts: 764 Join Date: 1/5/10 Recent Posts

Hi David,

Sorry, but I'm not familiar with the code flow. I should investigate that myself also to say anything.

Zsigmond