mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 08:26:00 +02:00
[GH-ISSUE #969] Webhook and Authentik usage for sending NTFY notifications with authorization #676
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#676
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 @SinghTaranjeet16 on GitHub (Nov 30, 2023).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/969
Hi I need some with using webhooks with Authentik. I am setting up notification on Authentik with
generic webhookoption and using this command to send the messagehttps://ntfy.sh/mytopic/publish?auth=<TOKEN>but it doesn't work .Does NTFY webhooks work with Authentik even?
@wunter8 commented on GitHub (Nov 30, 2023):
Is Authentik sending a GET request or a POST request? The
.../publishURL expects a GET request.Also, does it work if you (temporarily) disable auth? If so, it's a problem with your auth query param. The docs describe how to generate it with double base64 encoding
@SinghTaranjeet16 commented on GitHub (Nov 30, 2023):
@wunter8
The
authparameter that I am using is indeed double base64 encoded. I have tried to send the/publishcommand using curl (or straight away typing it in browser )and get the notification on my device.So doesn't looks like that auth is the issue here.
Secondly, looks like authentik sends a POST request
https://goauthentik.io/docs/events/transports/
@SinghTaranjeet16 commented on GitHub (Nov 30, 2023):
Worked by sending POST command directly to NTFY server topic, without the
/publishparamter. So, for Authentik, command should behttps://ntfy.sh/topic?auth=<token>