-
Notifications
You must be signed in to change notification settings - Fork 7.4k
Make access Token in user info endpoint bound to the dpop proof #38334
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
Conversation
Closes keycloak#38333 Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
f625a1a
to
7238a77
Compare
@ahus1 Hello, thank you for the PR. I will review the PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@ahus1 To check whether the PR affects FAPI 2.0 (profile using DPoP) conformance test run results by Keycloak, I ran the conformance tests against the Keycloak including the PR and confirmed that the Keycloak still can pass the conformance tests. As I mentioned in #33942, It might be good to look for other endpoints where we should apply DPoP. As the PR fixed, the "ath" hash claim in a DPoP proof is needed for an application to access an endpoint with a DPoP type access token and the endpoint need to verify the claim. UserInfo Endpoint is such the endpoint. DPoP: eyJ0eXAiOiJkcG9wK2p3dCIsImFsZyI6IkVTMjU2IiwiandrIjp7Imt0eSI6IkVDIiwieCI6Imw4dEZyaHgtMzR0VjNoUklDUkRZOXpDa0RscEJoRjQyVVFVZldWQVdCRnMiLCJ5IjoiOVZFNGpmX09rX282NHpiVFRsY3VOSmFqSG10NnY5VERWclUwQ2R2R1JEQSIsImNydiI6IlAtMjU2In19.eyJqdGkiOiItQndDM0VTYzZhY2MybFRjIiwiaHRtIjoiUE9TVCIsImh0dSI6Imh0dHBzOi8vc2VydmVyLmV4YW1wbGUuY29tL3Rva2VuIiwiaWF0IjoxNTYyMjY1Mjk2fQ.pAqut2IRDm_De6PR93SYmGBPXpwrAk90e8cP2hjiaG5QsGSuKDYW7_X620BxqhvYC8ynrrvZLTk41mSRroapUA
Examples of endpoints that can receive a refresh token are: Token Endpoint (token refresh), OIDC Logout Endpoint (token_hint), Token Revocation Endpoint, Token Introspectoin Endpoint. Also, there are endpoints that can receive both an access token and refresh token. E.g., Token Revocation Endpoint, Token Introspection Endpoint. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Closes #38333