Skip to content

App Logo not loading → CSP Issue #944

Open
@obrunsmann

Description

Describe the bug
When installing my app the logo gets blocked by CSP policy.

To Reproduce
Steps to reproduce the behavior:

  1. Create new app
  2. Set logo
  3. Install app via oauth flow

Expected behavior
Logo displayed correctly.

Screenshots
image

Desktop (please complete the following information):

  • OS: MacOS
  • Browser chrome
  • Version 120.0.6099.234

Additional context

{
  "id": "app.xx.xx",
  "version": "0.0.16",
  "name": "xx",
  "icon": "./icon.png",
  "permissions": [
...
  ],
  "ui_extension": {
    "views": [
      {
        "viewport": "settings",
        "component": "AppSettings"
      }
    ],
    "content_security_policy": {
      "connect-src": [
        "https://xxx.app/api/"
      ],
      "image-src": null,
      "purpose": ""
    }
  },
  "allowed_redirect_uris": [
...
  ],
  "stripe_api_access_type": "oauth",
  "distribution_type": "public"
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions