Gotify
Integrate Pocket ID with Gotify
Requirements
- Gotify Server version
3.0or higher
Create OIDC Client in Pocket ID
- Create a new OIDC Client in Pocket ID (e.g.,
Gotify). - Set the Callback URL to the value below (replacing
example.comwith your actual domain).
- Optional: If using the Android app, add a second Callback URL:
- Enable PKCE.
- Optional: Download a PNG or SVG logo from the Gotify project and upload.
- Copy the Client ID and Client Secret for use in the next section.
Configure Gotify
OIDC for Gotify is configured via environment variables. There is no GUI for managing it. Therefore, depending on the installation method used, these variables would need to be passed in different ways. However, the same variables are used for every case, and they are all referenced in Gotify's docs.
For Docker deployments, Docker environment variables can be used.
Either way, set the variables as the following:
Where:
GOTIFY_OIDC_CLIENTID: Is the Client ID you saved in the first step.GOTIFY_OIDC_CLIENTSECRET: Is the Client Secret you saved in the first step.GOTIFY_OIDC_AUTOREGISTER: Can be set tofalseto disable auto-provisioning.GOTIFY_OIDC_LINK_BY_USERNAME: Can be set totrueif you want your Pocket ID to be mapped with an already existing internal Gotify user (assuming they have the same username).