-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
[Notifier] Fixed authorization problems #58088
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,16 +5,24 @@ Provides [Ntfy](https://docs.ntfy.sh/) integration for Symfony Notifier. | |
|
||
DSN example | ||
----------- | ||
|
||
``` | ||
NTFY_DSN=ntfy://[USER:PASSWORD]@default[:PORT]/TOPIC?[secureHttp=[on]] | ||
NTFY_DSN=ntfy://URL[:PORT]/TOPIC?[secureHttp=[on]] | ||
``` | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you please add a whiteline after and before each code delimiter line? |
||
or with username and password authorization: | ||
``` | ||
NTFY_DSN=ntfy://USER:PASSWORD@URL[:PORT]/TOPIC?[secureHttp=[on]] | ||
``` | ||
or with token authorization: | ||
``` | ||
NTFY_DSN=ntfy://:TOKEN@URL[:PORT]/TOPIC?[secureHttp=[on]] | ||
``` | ||
where: | ||
- `URL` is the ntfy server which you are using | ||
- if `default` is provided, this will default to the public ntfy server hosted on [ntfy.sh](https://ntfy.sh/). | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Looking at README in other bridges, the example DSN uses There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ok, I understand. But text is talking about |
||
- if value `default` is provided, this will default to the public ntfy server hosted on [ntfy.sh](https://ntfy.sh/). | ||
- `TOPIC` is the topic on this ntfy server. | ||
- `PORT` is an optional specific port. | ||
- `USER`and `PASSWORD` are username and password in case of access control supported by the server | ||
- `TOKEN` is token value provided by server for user | ||
|
||
In case of a non-secure server, you can disable https by setting `secureHttp=off`. For example if you use a local [Ntfy Docker image](https://hub.docker.com/r/binwiederhier/ntfy) during development or testing. | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's keep this blank line