Open jrleles opened 4 years ago
Could you check your network logs show me the requests that are being made. Send me the curls by following this https://www.alexkras.com/copy-any-api-call-as-curl-request-with-chrome-developer-tools/
Be sure to not include your "authorization" header
Hello, I developed an API that accesses resources on my pod. Access to resources requires the user to authenticate. The user authenticates to a web application that consumes the API. The application uses the solid auth client. After authentication, the API is called and the resources are read from the pod and returned to the user. However, it only works if access is granted to the general public (acl:agentClass foaf:Agent). When I grant access to an individual agent (acl:agent https://jleles.solid.community/profile/card#me), I receive the following message: "401 - Unauthenticated". How to solve this? Thanks to anyone who can help!
.acl
index.html
main.js
console.log view
{timestamp: "2020-03-03T15:49:17.864+0000", status: 500, error: "Internal Server Error", message: "401 - Unauthenticated", path: "..."}