Skip to content

Attempting to update sharing for Trusted Apps errors #188

Open

Description

@brownhoward

When attempting to update the sharing permissions for Trusted Apps on a folder generates a CORS error:

Access to fetch at 'https://generator.inrupt.com/' from origin 'https://suser.solid.community' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

To Replicate:

  1. Navigate to a resource in a Pod.
  2. Display the Sharing view.
  3. Click green +.
  4. Select Trusted Apps to display the sharing permissions for your Trusted Apps.
  5. Attempt to give/remove access to the resource for any of the Trusted Apps.

Activity

  1. michielbdejong commented on Dec 20, 2019

    @michielbdejong
    Contributor

    @kevin-howard-jd it's trying to display the icon for https://generator.inrupt.com. That should have CORS headers on it. Notice the lack of cors headers here:

     curl -I https://generator.inrupt.com
    HTTP/1.1 200 OK
    Server: openresty/1.13.6.2
    Date: Fri, 20 Dec 2019 10:20:55 GMT
    Content-Type: text/html
    Content-Length: 2273
    Connection: keep-alive
    x-amz-id-2: XeSJI6buqj6B+gjYJe1nkGU/6crr8ahNSmElgUoFE24pnrkMVGonKwgRzyZ1LQ2vq0U6PnsTj2k=
    x-amz-request-id: C3C32C2FE814DC7D
    Last-Modified: Wed, 18 Dec 2019 18:54:33 GMT
    ETag: "d1dd4add1fdb857da59ae4f2c16b55e3"
    Accept-Ranges: bytes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions