-
-
Notifications
You must be signed in to change notification settings - Fork 68
Open
Description
Hi!
When enabling a Discord webhook for NotificationType 'AuthenticationFailure', you get an incorrect Username from the server.
When User: zzz uses an incorrect password, the Username from the Discord Webhook ("Webhook Username") shows up in the POST from the server.
[23:16:47] [WRN] [17] Jellyfin.Plugin.Webhook.Destinations.Generic.GenericClient: Notification failed with POST request to https://api.telegram.org/XXX/sendMessage: {"ServerId":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx","ServerName":"vetinari","ServerVersion":"10.9.1","ServerUrl":"https://my.server.com","NotificationType":"AuthenticationFailure","App":"Jellyfin Web","Username":"Jellyfin Bot","UserId":"00000000000000000000000000000000","AppVersion":"10.9.1","DeviceId":".....","DeviceName":"Chrome","MentionType":"","EmbedColor":697804,"AvatarUrl":"xxx","BotUsername":"Jellyfin `Bot","chat_id":"XXX"}
Is the NotificationType 'AuthenticationFailure' deactivated in the Discord Webhook, the POST from the server looks like this. (What is correct, username is 'zzz')
[23:17:18] [WRN] [44] Jellyfin.Plugin.Webhook.Destinations.Generic.GenericClient: Notification failed with POST request to https://api.telegram.org/XXX/sendMessage: {"ServerId":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx","ServerName":"vetinari","ServerVersion":"10.9.1","ServerUrl":"https://my.server.com","NotificationType":"AuthenticationFailure","App":"Jellyfin Web","Username":"zzz","UserId":"00000000000000000000000000000000","AppVersion":"10.9.1","DeviceId":".....","DeviceName":"Chrome","chat_id":"XXX"}
I use a Telegram Webhook for testing, thats why it is in the log.
Metadata
Metadata
Assignees
Labels
No labels

