FeatureFuel
1

[Feature Request] add crossorigin="use-credentials" to manifest link - Web manifest blocked behind auth proxies –

Source: paperless-ngx/paperless-ngx#14302 · opened by @haweffo-spec
Description


When Paperless-ngx runs behind an authenticating reverse proxy such as Cloudflare Access, the browser console shows a CORS error for /static/frontend/<lang>/manifest.webmanifest.

Cause: browsers fetch the web app manifest without cookies unless the link tag says otherwise. The proxy sees an unauthenticated request, redirects it to its login page on another domain, and the browser blocks that redirect.

Suggested fix in src/documents/templates/index.html:



This has no effect on setups without a proxy. Other projects made the same change for the same reason, e.g. Dashy ( and Open WebUI (

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests