-
Notifications
You must be signed in to change notification settings - Fork 355
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added userInfo response type check to handle signed and encrypted res… #305
Added userInfo response type check to handle signed and encrypted res… #305
Conversation
@DeepDiver1975 do we want to use an interface or should we use a callback like in pr #322? |
My personal answer would be: Alternative would be to use a callback just like done in any other place - just to make sure we are not mixing too much concepts. |
ec92e27
to
f3196f3
Compare
# Conflicts: # CHANGELOG.md # src/OpenIDConnectClient.php
…jwe functionality
@DeepDiver1975 thanks. I updated the code |
@DeepDiver1975 Any chance of getting this merged in? |
@DeepDiver1975 this would be very helpful for us as well. |
This pull request will add support for signed and/or encrypted UserInfo response.
https://openid.net/specs/openid-connect-core-1_0.html#rfc.section.5.3.2
Added response contentType field to hold value of the latest content type
Added jweResponseHandler so the package user can set an handler to decrypt the JWE
Handle signed jwt response from user info endpoint
Added support for encrypted id_token.
According to the docs, it is possible that the id token is encrypted. I added additional code that will decrypt the id_token when it is an JWE.
List of common tasks a pull request require complete