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

Use credentials to request manifest.json file #510

Merged
merged 1 commit into from
Oct 19, 2024

Conversation

MrTrustor
Copy link
Contributor

This is needed to properly fetch the manifest.json file when Gramps runs behind an authenticating proxy like Pomerium or Cloudflare Zero Trust, as documented here: https://web.dev/articles/add-manifest#link-manifest

Without that the request for the manifest.json file is done without the cookies set by the proxy (CF_AppSession and CF_Authorization in the case of Cloudflare) and the request gets redirected to the proxy login page.

As you can guess, I'm running Gramps behind Cloudflare Zero Trust (and Pomerium before that). I'm running into some issues that I am still investigating, but this one seemed simple enough to solve.

This is needed to properly fetch the manifest.json
file when Gramps runs behind an authenticating
proxy like Pomerium or Cloudflare Zero Trust, as
documented here: https://web.dev/articles/add-manifest#link-manifest
@DavidMStraub
Copy link
Member

Makes sense.

@DavidMStraub DavidMStraub merged commit 3a1cc04 into gramps-project:main Oct 19, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants