OpenID-Connect-PHP
OpenID-Connect-PHP copied to clipboard
UserInfoResponse as JWT not handled
In issue #151 the code was changed so that only JSON-responses are accepted. However at least one provider (https://www.governikus.de/) offers ONLY JWT-responses.
Maybe the function requestUserInfo() could be changed so that the "'Accept: application/json'" is only optional and the Response is optionally decoded with decodeJWT() ?
Specs: https://openid.net/specs/openid-connect-core-1_0.html#UserInfoResponse
Will be fixed by #305