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

Fetch pod root, second request does not specify 'dpop' scheme #64

Open
ylebre opened this issue Sep 30, 2022 · 1 comment
Open

Fetch pod root, second request does not specify 'dpop' scheme #64

ylebre opened this issue Sep 30, 2022 · 1 comment

Comments

@ylebre
Copy link
Collaborator

ylebre commented Sep 30, 2022

const headers = await getAuthHeaders(url, "GET", authFetcher);

The fetch pod root request runs a request with the HTTP headers:
Authorization:
DPoP:

Instead of
Authorization: DPoP
DPoP:

The authorization header does not specify the DPoP scheme, whereas the request to the token endpoint does specify it.

I expected this test to provide the DPoP scheme in both cases.

@michielbdejong
Copy link
Collaborator

Thanks for reporting!
Fixed in 2ba5c81
I'll leave this open until that gets merged and pushed in a release.

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

No branches or pull requests

2 participants