Skip to content

Karakeep browser extension gets blocked by CORS when self-hosting the Karakeep app #2361

@maestro-pkt

Description

@maestro-pkt

Describe the Bug

Hello, the Karakeep browser extension can talk to https://cloud.karakeep.app fine; but when I host karakeep at my own domain there are CORS errors in the extension

Steps to Reproduce

  1. Enter a self-hosted url when the browser extension opens
  2. Then click configure
  3. Right-click on the extension window and choose Inspect. The chromium devtools opens.
  4. Choose either the console tab or the network tab in the devtools.
  5. Back in the Karakeep extension, enter either the username/password or the API for your self-hosted instance.
  6. Click login or Login with API key

In the devtools, there will be a CORS error.

Expected Behaviour

The extension should authenticate with the self-hosted Karakeep.

Screenshots or Additional Context

Image Image

Device Details

No response

Exact Karakeep Version

1.2.7 (extension)

Have you checked the troubleshooting guide?

  • I have checked the troubleshooting guide and I haven't found a solution to my problem

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstatus/untriagedThis issue needs triaging to confirm it

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions