-
Notifications
You must be signed in to change notification settings - Fork 0
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
Resource requests to the Enterprise Solid Server: Getting 400, Bad Request #5
Comments
I'm noticing that the DPoP is supposed to have a "ath": hash of the access token (REQUIRED). The value MUST be the https://datatracker.ietf.org/doc/html/draft-ietf-oauth-dpop-03#section-4.3 I see an |
From NoelDeMartin/media-kraken#9 (comment) it sounds like there's no way to know if a DPoP (header?) can be used with a server. "Also, DPoP is opt-in for apps (like with PKCE). As such, it is highly recommended but not required in all circumstances. If you are unsure whether to use DPoP in your authentication flows, then please use DPoP." (see https://forum.solidproject.org/t/the-use-of-dpop-in-the-token-endpoint/4664/8?u=crspybits). I wonder if this indicates that ESS does support DPoP headers, but somehow I'm getting them wrong and it's failing? |
I'm trying to make resource requests of the Enterprise Solid Server. I have this working (with the different relevant credentials) for the NSS (e.g., with https://crspybits.solidcommunity.net), but I'm getting 400 http responses and "Bad Request" from the ESS.
I'm able to successfully use /token requests with the ESS to refresh my access token.
This is Swift code, using my own HTTP requests. For reference, the code is here: https://github.com/SyncServerII/ServerSolidAccount
I'm attempting to create a new directory/container, and upload a file. In the request below, the access token was successfully refreshed immediately before.
My webid is: https://pod.inrupt.com/crspybits/profile/card#me
I'm making a PUT request to:
https://pod.inrupt.com/crspybits/32CD8522-D921-43DF-8B3B-8FAC4A71D3E6/13567B1B-1C4C-40C0-AE93-86DC117D04FD.txt
Response body:
Response headers:
The text was updated successfully, but these errors were encountered: