Skip to content

devcontainer: fix Authorization header not passed to PHP via Apache#60737

Open
Jay-1409 wants to merge 4 commits into
nextcloud:masterfrom
Jay-1409:master
Open

devcontainer: fix Authorization header not passed to PHP via Apache#60737
Jay-1409 wants to merge 4 commits into
nextcloud:masterfrom
Jay-1409:master

Conversation

@Jay-1409
Copy link
Copy Markdown

Summary

This PR improves the devcontainer setup by fixing an issue where Apache was not forwarding the Authorization header to PHP, which could break authentication flows inside the container.

It adds an Apache configuration during devcontainer setup that ensures the Authorization header is correctly passed through to PHP using SetEnvIfNoCase. The config is automatically enabled via a2enconf.

This resolves authentication issues in the Docker/devcontainer environment where tokens or auth headers were previously being stripped, ensuring consistent login and API behavior during local development.

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

@Jay-1409 Jay-1409 requested a review from a team as a code owner May 26, 2026 15:00
@Jay-1409 Jay-1409 requested review from artonge, leftybournes, provokateurin and salmart-dev and removed request for a team May 26, 2026 15:00
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.

[Bug]: Can not create or delete App password due to NotConfirmedException

1 participant