OpenID-Connect-PHP
OpenID-Connect-PHP copied to clipboard
requestUserInfo should maybe check if claim is already received by id token
Some providers like coreos/dex doesn't implement the userInfo endpoint.
Is it possible to check the received claims in the id token first before trying to get them with the userInfo endpoint? This should be also a performance boost.
🤔 @jduepmeier Good question. I'm sure you could extend the lib with your own class and override the method of interest.
Is it possible to check the received claims in the id token first before trying to get them with the userInfo endpoint?
Can you reference the line in the source if this were to happen? (or even better submit a PR?) :)