Skip to content
This repository has been archived by the owner on Jul 19, 2023. It is now read-only.

Remote validation does not work #218

Open
jeswr opened this issue Mar 28, 2023 · 1 comment
Open

Remote validation does not work #218

jeswr opened this issue Mar 28, 2023 · 1 comment

Comments

@jeswr
Copy link

jeswr commented Mar 28, 2023

On the page https://solid-client-identifier-helper.vercel.app/validator copy/pasting the json contents to validate works; but trying to use the fetch and validate function against a remote url (e.g. https://query.linkeddatafragments.org/solid-client-id.jsonld) fails with
image.

Looking at my network requests that action does a POST request to https://solid-client-identifier-helper.vercel.app/api/validate-remote-document?documentIri=https://query.linkeddatafragments.org/solid-client-id.jsonld with an empty payload and gets a 500 response code.

@jeswr
Copy link
Author

jeswr commented Mar 28, 2023

At the same time as fixing this, it would also be really nice if the response headers for the Client Identifier Document could be validated. In particular, the content-type should be validated to ensure it is of type application/ld+json as opposed to something like an octet-stream.

@jeswr jeswr changed the title Remove validation does not work Remote validation does not work Apr 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant