Problem with Headers #722

Open
opened 2026-02-04 21:05:28 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @iamsens on GitHub (May 29, 2025).

Is this a feature for the backend or frontend?

Frontend

What would you like?

Hello,
Planka uses Header Authorization for authorization, because of this won't work Nginx / Apache Basic authorization

your need to change header Authorization to any other

Why is this needed?

No response

Other information

No response

Originally created by @iamsens on GitHub (May 29, 2025). ### Is this a feature for the backend or frontend? Frontend ### What would you like? Hello, Planka uses Header Authorization for authorization, because of this won't work Nginx / Apache Basic authorization your need to change header Authorization to any other ### Why is this needed? _No response_ ### Other information _No response_
OVERLORD added the enhancement label 2026-02-04 21:05:28 +03:00
Author
Owner

@symonbaikov commented on GitHub (Jun 4, 2025):

Can I take this one to work?

@symonbaikov commented on GitHub (Jun 4, 2025): Can I take this one to work?
Author
Owner

@meltyshev commented on GitHub (Jun 5, 2025):

Can I take this one to work?

Hi! Sure :) But first, we need to figure out how to fix this without introducing a breaking change. Using the Authorization header with a Bearer token is a common and widely adopted approach. So maybe this issue should be handled at the Nginx/Apache level instead of modifying PLANKA - probably by using the Proxy-Authorization header for Basic authentication on the proxy servers. I'll try to test this and see how it can be configured, but haven't had enough time to do that yet.

@meltyshev commented on GitHub (Jun 5, 2025): > Can I take this one to work? Hi! Sure :) But first, we need to figure out how to fix this without introducing a breaking change. Using the `Authorization` header with a Bearer token is a common and widely adopted approach. So maybe this issue should be handled at the Nginx/Apache level instead of modifying PLANKA - probably by using the `Proxy-Authorization` header for Basic authentication on the proxy servers. I'll try to test this and see how it can be configured, but haven't had enough time to do that yet.
Author
Owner

@iamsens commented on GitHub (Jun 5, 2025):

Unfortunately, there is no way to change Authorization header in the web server side without changing the source code.

@iamsens commented on GitHub (Jun 5, 2025): Unfortunately, there is no way to change Authorization header in the web server side without changing the source code.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/planka#722