Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Optimize openIDConnect provider
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.
Feature Request Created: https://liferay.atlassian.net/browse/LPD-57065
Powered by Liferay™