RE: Optimize openIDConnect provider

Eric DARIEL, modified 2 Months ago.

Optimize openIDConnect provider

New Member Posts: 7 Join Date: 8/11/23 Recent Posts

Hi,

This is a feature request.

For my client, we need to use the idp of the company.

This idp is not very fait and we made an optimisation but it be great to have it in the liferay module and not in our custom module.

First when we connect, Liferay call the endpoint UserInfo but we have all ready the infos in the JWT Token (name, firstName and email)

It would be great to have a configuration option (a boolean) to do the call to the userInfo endpoint or not.

For us we win about 500ms if we do not this at every connection.

Second optimization, sometimes our idp is down. And all our clients are disconnected by the offlineOpenIdVonnectManager because it tries to extend the session but the session is not end (it will end in 5 minutes yes) but why close the session if the token is available 5 minutes more ?

Maybe this manager can try 1 minute later another call and close the session only if it is a forbiden or if the token is outdated but not if we have a network issue.

Of course this should be configurable in the liferay system (or instance) configuration like is it for the other options.

Eric.

thumbnail
Jamie Sammons, modified 2 Months ago.

RE: Optimize openIDConnect provider

Expert Posts: 367 Join Date: 9/5/14 Recent Posts

Feature Request Created: https://liferay.atlassian.net/browse/LPD-57065

Community
Company
Feedback