akhilrex / hammond

Self hosted vehicle and expense management system. Like Clarkson, but better
GNU Affero General Public License v3.0
560 stars 52 forks source link

Doesn't work with reverse proxy and basic auth? #50

Open benmargolin opened 2 years ago

benmargolin commented 2 years ago

Docker install, works perfectly with direct IP-based access. But via caddy reverse proxy, with basic auth applied, attempting login doesn't work -- get a basic auth prompt (again?) after attempting to submit the password, and login fails (basic auth can't be satisfied -- not sure if it's Hammond or the proxy that is asking at this point). Seems like something is confused...

akhilrex commented 2 years ago

Hammond doenst have basic auth. Please check your reverse proxy

On Mon, Jan 3, 2022 at 11:51 AM Ben Margolin @.***> wrote:

Docker install, works perfectly with direct IP-based access. But via caddy reverse proxy, with basic auth applied, attempting login doesn't work -- get a basic auth prompt (again?) after attempting to submit the password, and login fails (basic auth can't be satisfied -- not sure if it's Hammond or the proxy that is asking at this point). Seems like something is confused...

— Reply to this email directly, view it on GitHub https://github.com/akhilrex/hammond/issues/50, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEMVPVW3HEQ5DWRLMEA7YTUUE57BANCNFSM5LETD3GA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Thanks and Regards, Akhil Gupta