Optimize openIDConnect provider

10ヶ月前 に Jamie Sammons によって更新されました。 New Member 投稿: 7 参加年月日: 23/08/11 最新の投稿

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
10ヶ月前 に Jamie Sammons によって更新されました。 Expert 投稿: 367 参加年月日: 14/09/05 最新の投稿

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