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 DPoP with JWK Set #346

Merged
merged 2 commits into from
Apr 30, 2024
Merged

Fix DPoP with JWK Set #346

merged 2 commits into from
Apr 30, 2024

Conversation

maennchen
Copy link
Member

No description provided.

@maennchen maennchen added the bug label Apr 30, 2024
@maennchen maennchen self-assigned this Apr 30, 2024
@maennchen maennchen force-pushed the dpop_jwk_set branch 2 times, most recently from 0508706 to ee908cf Compare April 30, 2024 11:40
@coveralls
Copy link

coveralls commented Apr 30, 2024

Pull Request Test Coverage Report for Build 172

Details

  • 8 of 11 (72.73%) changed or added relevant lines in 3 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.06%) to 92.354%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/oidcc_authorization.erl 2 3 66.67%
src/oidcc_jwt_util.erl 5 7 71.43%
Totals Coverage Status
Change from base Build 169: -0.06%
Covered Lines: 1063
Relevant Lines: 1151

💛 - Coveralls

Copy link
Collaborator

@paulswartz paulswartz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code looks fine, but I get a lot of conformance suite failures when running against this branch. From a quick look, the DPoP header isn't being sent.

I'll try to find some time in the new day or two to dig into it more and figure out where the signature is being lost.

@maennchen
Copy link
Member Author

maennchen commented Apr 30, 2024

@paulswartz I assume this is because "use": "sig" is not set on the JWK you're using.

(I used this key to test conformance: https://github.com/erlef/oidcc_conformance/blob/f3c773576607ef5090328d7f2608a14496b480c5/artifacts/client.priv.jwkset)

@maennchen maennchen merged commit 1704f0b into main Apr 30, 2024
25 checks passed
@maennchen maennchen deleted the dpop_jwk_set branch April 30, 2024 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants