-
Notifications
You must be signed in to change notification settings - Fork 6
Description
My webId has a form https://webid.example, and it redirects to a profile document https://pod.example/profile/card. (see https://id.mrkvon.org for real-world example)
CommunitySolidServer seems to have started prettifying turtle recently, which includes replacing absolute URIs with relative URIs, e.g.
<https://webid.example> solid:oidcIssuer <https://pod.example/> .
during an unrelated n3/patch of the profile document (https://pod.example/profile/card) has become
<https://webid.example> solid:oidcIssuer <../> .`
Then this snippet:
| const store = parseRdf( | |
| await dereferenceWebid(webid), | |
| Object.assign(new URL(webid), { hash: "" }).href, | |
| ); |
uses webid without hash as baseIRI instead of response.url, leading to authentication error like:
[DPoPWebIdExtractor] {Primary} warn: Error verifying WebID via DPoP-bound access token: The access token issuer doesn't match its associated WebID's trusted OIDC issuers.
Actual: https://webid.example/
Expected: https://pod.example/
Expected result:
Authentication should work even for redirect webIds, after CSS started producing turtle with relative IRIs.