[GH-ISSUE #6492] [Issue]: PWA installation fails on Android when Basic Auth protects the manifest #3634

Closed
opened 2026-10-21 06:05:19 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @SpicyMarinara on GitHub (Sep 21, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6492

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Marinara Engine cannot be installed as a PWA in Android Chrome when the application is protected by Basic Auth. The authenticated manifest prompts for credentials, but Chromium does not recognize the app as installable.

Expected behavior

Android Chrome should recognize and allow installation of Marinara Engine as a PWA when the app and manifest are protected by Basic Auth.

Actual behavior

The main app loads after authentication, but Android Chrome does not recognize it as an installable PWA. Opening /manifest.json prompts for the Basic Auth username and password.

Steps to reproduce

  1. Run Marinara Engine from the official Docker image with BASIC_AUTH_USER and BASIC_AUTH_PASS configured.
  2. Expose the instance through a Cloudflare Tunnel on a public HTTPS domain.
  3. Open the instance in Chrome on Android and authenticate with Basic Auth.
  4. Attempt to install Marinara Engine as a PWA.
  5. Observe that Chrome does not offer or recognize the PWA installation.

Environment

  • Marinara Engine version: Not provided
  • Install type: docker
  • OS + version: Android version not provided
  • Browser or app shell: Chrome on Android

Logs, screenshots, or video

No logs, screenshots, or video provided. Opening https://my-domain.example/manifest.json prompts for Basic Auth credentials.

Additional context

The manifest is referenced in packages/client/index.html as <link rel="manifest" href="/manifest.json" />. The reporter suspects authenticated manifests require crossorigin="use-credentials", for example <link rel="manifest" href="/manifest.json" crossorigin="use-credentials" />. The same behavior and manifest reference were observed on the staging branch. The instance is behind a Cloudflare Tunnel on a public HTTPS domain.

Discord thread: PWA install issue on Android when using Basic Auth
Discord thread link: https://discord.com/channels/1417099416812392641/1551583769209602121
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (6 messages)
[2026-09-21T13:19:57.612Z] Tantofaz: I’m running Marinara Engine from the official Docker image behind a Cloudflare Tunnel on a public HTTPS domain.

Remote access works correctly with `BASIC_AUTH_USER` / `BASIC_AUTH_PASS`, but on Android Chrome I can’t install Marinara as a PWA.

I traced it to the web app manifest requiring Basic Auth. Opening `https://my-domain.example/manifest.json` prompts for the Basic Auth username/password. In `packages/client/index.html`, the manifest is currently referenced as:

` ` `html
<link rel="manifest" href="/manifest.json" />
` ` `

For authenticated manifests, Chromium expects credentials to be included, which normally requires:

` ` `html
<link rel="manifest" href="/manifest.json" crossorigin="use-credentials" />
` ` `

Without that, the main app loads fine after authentication, but Chrome does not appear to recognize it as an installable PWA.

I also checked the current staging branch and it still uses the same manifest link, so this doesn’t seem fixed there yet.
[Discord message: https://discord.com/channels/1417099416812392641/1551583769209602121/1551583769209602121]

[2026-09-21T13:19:58.207Z] Professor Mari [bot]: Howdy!

Thank you for submitting a new bug report/feature request, your support means a lot. A member of the team will look into it as soon as possible, and if they find it valid, they will open a GitHub Issue out of it. You can check whether it was addressed on the staging build of Marinara Engine. **Do not ping any of the developers, this will not speed up the process.**

**Please include a Support Diagnostic in the post if you haven't done it yet.** Otherwise, ignore this step. To grab it, go to the Marinara Engine tab:

`Settings -> Advanced -> Support Diagnostics -> Copy Support Diagnostics.`

If your report is about any of the **Agents**, please provide **the Agent's version** which you can grab from here:

`Agents -> Download Agents -> Installed Agents -> Selected Agent -> Installed Version`

Thank you, this will help tremendously.

This is an automated message, but if you reply to it, I will do my best to assist you using my LLM-powered brain. That said, it's best for a human to handle this case.

Cheers!
[Discord message: https://discord.com/channels/1417099416812392641/1551583769209602121/1551583771705344071]

[2026-09-21T13:42:20.620Z] Marinara: Is this on staging?
[Discord message: https://discord.com/channels/1417099416812392641/1551583769209602121/1551589402193694742]

[2026-09-21T13:42:58.061Z] Marinara: Just in case, check on staging, even if the manifest is the same.
[Discord message: https://discord.com/channels/1417099416812392641/1551583769209602121/1551589559232495738]

[2026-09-21T14:20:50.284Z] Tantofaz: Yes, I checked staging as well. Same thing
[Discord message: https://discord.com/channels/1417099416812392641/1551583769209602121/1551599089626652774]

[2026-09-21T14:22:38.378Z] Marinara: Damn. Okay, lemme look into it.
[Discord message: https://discord.com/channels/1417099416812392641/1551583769209602121/1551599543005479003]

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Sep 21, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6492 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Marinara Engine cannot be installed as a PWA in Android Chrome when the application is protected by Basic Auth. The authenticated manifest prompts for credentials, but Chromium does not recognize the app as installable. ## Expected behavior Android Chrome should recognize and allow installation of Marinara Engine as a PWA when the app and manifest are protected by Basic Auth. ## Actual behavior The main app loads after authentication, but Android Chrome does not recognize it as an installable PWA. Opening `/manifest.json` prompts for the Basic Auth username and password. ## Steps to reproduce 1. Run Marinara Engine from the official Docker image with `BASIC_AUTH_USER` and `BASIC_AUTH_PASS` configured. 2. Expose the instance through a Cloudflare Tunnel on a public HTTPS domain. 3. Open the instance in Chrome on Android and authenticate with Basic Auth. 4. Attempt to install Marinara Engine as a PWA. 5. Observe that Chrome does not offer or recognize the PWA installation. ## Environment - Marinara Engine version: Not provided - Install type: docker - OS + version: Android version not provided - Browser or app shell: Chrome on Android ## Logs, screenshots, or video No logs, screenshots, or video provided. Opening `https://my-domain.example/manifest.json` prompts for Basic Auth credentials. ## Additional context The manifest is referenced in `packages/client/index.html` as `<link rel="manifest" href="/manifest.json" />`. The reporter suspects authenticated manifests require `crossorigin="use-credentials"`, for example `<link rel="manifest" href="/manifest.json" crossorigin="use-credentials" />`. The same behavior and manifest reference were observed on the staging branch. The instance is behind a Cloudflare Tunnel on a public HTTPS domain. Discord thread: PWA install issue on Android when using Basic Auth Discord thread link: https://discord.com/channels/1417099416812392641/1551583769209602121 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (6 messages)</summary> ```text [2026-09-21T13:19:57.612Z] Tantofaz: I’m running Marinara Engine from the official Docker image behind a Cloudflare Tunnel on a public HTTPS domain. Remote access works correctly with `BASIC_AUTH_USER` / `BASIC_AUTH_PASS`, but on Android Chrome I can’t install Marinara as a PWA. I traced it to the web app manifest requiring Basic Auth. Opening `https://my-domain.example/manifest.json` prompts for the Basic Auth username/password. In `packages/client/index.html`, the manifest is currently referenced as: ` ` `html <link rel="manifest" href="/manifest.json" /> ` ` ` For authenticated manifests, Chromium expects credentials to be included, which normally requires: ` ` `html <link rel="manifest" href="/manifest.json" crossorigin="use-credentials" /> ` ` ` Without that, the main app loads fine after authentication, but Chrome does not appear to recognize it as an installable PWA. I also checked the current staging branch and it still uses the same manifest link, so this doesn’t seem fixed there yet. [Discord message: https://discord.com/channels/1417099416812392641/1551583769209602121/1551583769209602121] [2026-09-21T13:19:58.207Z] Professor Mari [bot]: Howdy! Thank you for submitting a new bug report/feature request, your support means a lot. A member of the team will look into it as soon as possible, and if they find it valid, they will open a GitHub Issue out of it. You can check whether it was addressed on the staging build of Marinara Engine. **Do not ping any of the developers, this will not speed up the process.** **Please include a Support Diagnostic in the post if you haven't done it yet.** Otherwise, ignore this step. To grab it, go to the Marinara Engine tab: `Settings -> Advanced -> Support Diagnostics -> Copy Support Diagnostics.` If your report is about any of the **Agents**, please provide **the Agent's version** which you can grab from here: `Agents -> Download Agents -> Installed Agents -> Selected Agent -> Installed Version` Thank you, this will help tremendously. This is an automated message, but if you reply to it, I will do my best to assist you using my LLM-powered brain. That said, it's best for a human to handle this case. Cheers! [Discord message: https://discord.com/channels/1417099416812392641/1551583769209602121/1551583771705344071] [2026-09-21T13:42:20.620Z] Marinara: Is this on staging? [Discord message: https://discord.com/channels/1417099416812392641/1551583769209602121/1551589402193694742] [2026-09-21T13:42:58.061Z] Marinara: Just in case, check on staging, even if the manifest is the same. [Discord message: https://discord.com/channels/1417099416812392641/1551583769209602121/1551589559232495738] [2026-09-21T14:20:50.284Z] Tantofaz: Yes, I checked staging as well. Same thing [Discord message: https://discord.com/channels/1417099416812392641/1551583769209602121/1551599089626652774] [2026-09-21T14:22:38.378Z] Marinara: Damn. Okay, lemme look into it. [Discord message: https://discord.com/channels/1417099416812392641/1551583769209602121/1551599543005479003] ``` </details> ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 06:05:19 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Sep 22, 2026):

Implementation owner: @SpicyMarinara, with Codex. Tracking the focused fix in draft PR #6516, following the maintainer comments here.

<!-- gh-comment-id:5769439054 --> @SpicyMarinara commented on GitHub (Sep 22, 2026): Implementation owner: @SpicyMarinara, with Codex. Tracking the focused fix in draft PR #6516, following the maintainer comments here.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#3634
No description provided.