Skip to content

Update to most recent key-binding spec#367

Merged
EthanHeilman merged 3 commits into
openpubkey:mainfrom
EthanHeilman:kb-update
May 6, 2026
Merged

Update to most recent key-binding spec#367
EthanHeilman merged 3 commits into
openpubkey:mainfrom
EthanHeilman:kb-update

Conversation

@EthanHeilman
Copy link
Copy Markdown
Member

@EthanHeilman EthanHeilman commented May 6, 2026

This PR fixes an issues where the implementation here differs from the current implementing in the OpenID Connect key binding draft spec as of openid/connect-key-binding@90035de

The draft spec now uses dpop+id_token consistently as the typ for the key bound ID Token whereas the implementation used id_token+cnf. This PR changes the implementation to use dpop+id_token instead of id_token+cnf.

Test

hello needs to be updated to use the DPoP header typ, getting: failed to exchange token: oauth2: "invalid_request" "typ MUST be dpop+id_token in dpop token" and it is returning an ID Token with typ=id_token+cnf.

Hello is now working and returning a token where typ=id_token+cnf

@EthanHeilman EthanHeilman self-assigned this May 6, 2026
@EthanHeilman EthanHeilman force-pushed the kb-update branch 2 times, most recently from 2acfffc to 73fdc20 Compare May 6, 2026 18:49
@EthanHeilman EthanHeilman merged commit 0f41912 into openpubkey:main May 6, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant