Skip to content

[Bug] Icon for OIDC provider does not work #131

Description

@josuealcalde

What went wrong?

I am using Authentik in my homelab.
Versión 1.5.0 closes #107 so I can configure bookorbit now.

The problem now is minor. I cant show the icon configured for authentik.
I am using https://auth.example.domain/static/dist/assets/icons/icon.png which is resolve to a local IP in my network.
The problem in the browser console is:
Loading the image 'https://auth.villasdelarlanzon.es/static/dist/assets/icons/icon.png' violates the following Content Security Policy directive: "img-src 'self' data: blob:". The action has been blocked.

Steps to reproduce

Configure an OIDC provider with an external logo.

CSP will make it unavailable.

Expected vs actual behavior

Logo is not shown.

Your setup

  • Bookorbit 1.7.0
  • Docker compose deployment
  • Chrome
  • Ubuntu 24.04

Relevant logs (optional)

Screenshots (optional)

No response

Before submitting

  • I've searched existing issues and this hasn't been reported yet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingreleasedIssue or PR is included in a released version.status:testingFeature/fix is available for community testing and feedback.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions