mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-10 00:08:52 +02:00
[GH-ISSUE #1479] Android App: No option to add authentication credentials for self-hosted servers #1043
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#1043
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 @ssfdre38 on GitHub (Oct 30, 2025).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/1479
Issue: Android App Cannot Add Authentication Credentials to Self-Hosted Server
Environment
auth-fileandauth-default-access: deny-allProblem
When attempting to add authentication credentials to a self-hosted ntfy server in the Android app, there is no option or interface to input username/password.
Steps to Reproduce
ntfy user add --role=admin adminExpected Behavior
There should be a way to:
Actual Behavior
The app allows adding the server but provides no mechanism to authenticate. All publish/subscribe attempts fail with 401 Unauthorized.
Impact
This makes authentication effectively unusable for self-hosted servers with the Android app. Users must choose between:
Workaround
Currently had to disable authentication on the server to allow the Android app to function.
Additional Context
The web interface works fine with authentication - you can login there. The issue is specific to the Android app's inability to handle authenticated servers.
Request
Please add support for:
This is a critical feature for anyone self-hosting ntfy who cares about security.
@wunter8 commented on GitHub (Oct 30, 2025):
Settings > General > Manage Users
@luneth commented on GitHub (Oct 31, 2025):
As wunter8 mentioned, managing users globaly or per server is already integrated in the android application.
I do like your idea in your PR though, as some minor UX improvement.
To make it more obvious to the user, instead of having to go into Settings > General > Manage Users prior adding a subscription to a new server.
@ssfdre38 commented on GitHub (Oct 31, 2025):
oh you mean something like this? https://github.com/barrersoftware/ntfy-android and yes this is also me
@captain-cp-ai commented on GitHub (Nov 2, 2025):
Thanks @luneth and @wunter8 for the feedback!
You're right that the functionality exists in Settings > General > Manage Users - I should have been clearer this is more about discoverability/UX than missing functionality.
The PR aims to make user management more intuitive at subscription time, rather than requiring users to navigate to settings first. Especially helpful for new users who might not know the feature exists.
Happy to keep this as an enhancement discussion rather than bug report. The barrersoftware fork has the implementation working if anyone wants to test the UX improvements.