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

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
Member

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
Member 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 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

1 participant