mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 16:35:53 +02:00
[GH-ISSUE #439] Shoutrrr Auth #335
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#335
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 @h4wwk3ye on GitHub (Oct 11, 2022).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/439
How to pass username and password to shoutrrr generic webhook example
https://ntfy.sh/docs/examples/#watchtower-shoutrrr
https://containrrr.dev/shoutrrr/v0.5/services/generic/
@binwiederhier commented on GitHub (Oct 11, 2022):
I just documented the
?auth=..query parameter, so it's not in the official docs yet, but you can find it here: https://github.com/binwiederhier/ntfy/blob/main/docs/publish.md#query-param@scottini commented on GitHub (Jan 22, 2024):
Hi,
I tried configuring notifications in my Watchtower docker container like this, but I keep getting this authentication error:
time="2024-01-22T16:44:50+01:00" level=fatal msg="Failed to initialize Shoutrrr notifications: error initializing router services: auth is not a valid config key [actions at attach cache click delay email filename firebase icon in priority scheme tags title]\n"
I added 2 env parameters:
I've obtained my_base64_key with
echo -n "Basic `echo -n 'testuser:fakepassword' | base64`" | base64 | tr -d '='
and if I use curl with the same string, everything is fine.
Did I do something wrong?
@wunter8 commented on GitHub (Jan 22, 2024):
Try this format for recent versions of shoutrrr
ntfy://username:password@host/topic@scottini commented on GitHub (Jan 22, 2024):
It works, thank you!