mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 16:35:53 +02:00
[GH-ISSUE #1473] Broken setup: Nginx / Basic Auth + Ntfy Auth results in unworkable /login route #1037
Labels
No labels
ai-generated
android-app
android-app
android-app
🪲 bug
build
build
dependencies
docs
enhancement
enhancement
🔥 HOT
in-progress 🏃
ios
prio:low
prio:low
pull-request
question
🔒 security
server
server
unified-push
web-app
website
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ntfy#1037
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @alex-u-93 on GitHub (Oct 24, 2025).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/1473
Hello.
As I understand, by default
ntfyhas no route i.e. topic auth protection.So, solution like HTTP basic auth should be picked up. I have setted it up to my root route.
Also I have enabled
ntfynative auth system (which gives as protected routes semantics?) - and could not wire it with Nginx HTTP basic auth.After correct login/password was entered and submitted, browser redirect to
ntfyroot page and then redirect back to/loginroute. I have tried different configuration options and finished at this, unworkable codeCan someone help with this piece of misunderstanding?
@wunter8 commented on GitHub (Oct 25, 2025):
Remove the nginx basic auth stuff and just use the built-in ntfy auth/access controls.
If you're concerned about the web app being accessible to others, see here: https://docs.ntfy.sh/faq/#can-i-disable-the-web-app-can-i-protect-it-with-a-login-screen
@alex-u-93 commented on GitHub (Oct 25, 2025):
@wunter8 You are just right. I have forgotten that auth system is complete, while web UI basic ability to connect to arbitrary
ntfyinstances is designed by authors.