Skip to content
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

fix: small fixes for DPoP #332

Merged
merged 2 commits into from
Jan 11, 2024
Merged

fix: small fixes for DPoP #332

merged 2 commits into from
Jan 11, 2024

Conversation

paulswartz
Copy link
Collaborator

https://gitlab.com/openid/conformance-suite/-/merge_requests/1354 has conformance tests which incorporate validation of the DPoP nonces, which uncovered a couple issues:

  • we were providing the nonce in the claims as a list of numbers (charlist) instead of a binary
  • Oidcc.Token.Access.authorization_headers didn't expose opts to provide the dpop_nonce value

https://gitlab.com/openid/conformance-suite/-/merge_requests/1354 has
conformance tests which incorporate validation of the DPoP nonces, which
uncovered a couple issues:

- we were providing the nonce in the claims as a list of
numbers (charlist) instead of a binary
- `Oidcc.Token.Access.authorization_headers` didn't expose `opts` to
provide the `dpop_nonce` value
@coveralls
Copy link

Pull Request Test Coverage Report for Build 152

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.09%) to 92.122%

Totals Coverage Status
Change from base Build 149: -0.09%
Covered Lines: 994
Relevant Lines: 1079

💛 - Coveralls

@maennchen maennchen merged commit bfee572 into erlef:main Jan 11, 2024
24 of 25 checks passed
@paulswartz paulswartz deleted the dpop-fixes branch January 13, 2024 01:02
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.

None yet

3 participants