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

App Logo not loading → CSP Issue #944

Open
obrunsmann opened this issue Jan 20, 2024 · 3 comments
Open

App Logo not loading → CSP Issue #944

obrunsmann opened this issue Jan 20, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@obrunsmann
Copy link

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"
}
@gabrielhurley-stripe
Copy link
Contributor

We're checking into this internally and will get back to you. Thanks!

@obrunsmann
Copy link
Author

obrunsmann commented Jan 22, 2024

@gabrielhurley-stripe thank you, This issue seems to only happen while being in review state. Since we are approved in the logo works finally

@ngrubb-stripe
Copy link

@obrunsmann Thanks for reporting! That is correct, this bug only occurs when your app has not yet been approved / published to the App Marketplace.

We are actively working to resolve this and will report back when we have a fix in place.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants