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

Set use-credentials for manifest file #397

Merged

Conversation

aseevlx
Copy link

@aseevlx aseevlx commented May 9, 2024

Short description:

Fixing a problem with inaccessible manifest file when using HTTP basic auth.

Long description:

I am using nginx + basic auth for your_spotify frontend.
After the last update, I can no longer see the left sidebar in Chrome. In Safari it works fine.

So on chrome page looks like that (artist and song information are hidden by me):
Screenshot 2024-05-09 at 20 51 01

After a little investigation I found that manifest.json cannot be loaded, and the problem is that it does not use auth headers when making the request:
Screenshot 2024-05-09 at 20 26 30

The situation is described here:
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/crossorigin#example_web_manifest_with_credentials

Thus, this PR fixes this problem.

@Yooooomi Yooooomi changed the base branch from master to release/1.11.0 May 30, 2024 20:15
@Yooooomi Yooooomi merged commit 9eae721 into Yooooomi:release/1.11.0 May 30, 2024
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.

None yet

2 participants