Closed
Description
🐞 Describe the bug
When setting the default-user and default-password or default-token in ~/.config/ntfy/client.yml and trying to use ntfy sub/subscribe, the Authorization Headers are not sent. This is not the case with ntfy pub/publish
💻 Components impacted
💡 Screenshots and/or logs
❯ ntfy sub --trace test 'notify-send "$m"'
2023/04/07 11:22:19 DEBUG ntfy.domain.net/test Subscribing to topic
2023/04/07 11:22:19 DEBUG ntfy.domain.net/test Listening to https://ntfy.domain.net/test/json
2023/04/07 11:22:19 WARN ntfy.domain.net/test Connection failed: {"code":40301,"http":403,"error":"forbidden","link":"https://ntfy.sh/docs/publish/#authentication"}
2023/04/07 11:22:29 DEBUG ntfy.domain.net/test Listening to https://ntfy.domain.net/test/json
2023/04/07 11:22:29 WARN ntfy.domain.net/test Connection failed: {"code":40301,"http":403,"error":"forbidden","link":"https://ntfy.sh/docs/publish/#authentication"}
🔮 Additional context