OAuth to generate token
Author: darkdragon-001Created May 18, 2023Updated Sep 10, 2026
Labelsenhancementserver
:bulb: Idea It would be great if OAuth was implemented to generate tokens. The workflow should look as follows:
- App redirects to ntfy web app with special path/query parameters (including redirect URI)
- ntfy asks user to login if not done already
- ntfy asks user to authorize an application (create a token)
- ntfy redirects back to application (using redirect URI) with a generated auth code
- App queries ntfy access token by providing auth code
I suggest to use the "Single-Page Apps" workflow which does not require the app to register and maintain a secret.
:computer: Target components web app
Source: binwiederhier/ntfy