Postiz
Sign in to the Postiz social media scheduling tool with Pocket ID.
Postiz is an open-source, self-hosted social media scheduling tool that supports platforms like X (formerly Twitter), Bluesky, Mastodon, Discord, and others. This guide configures Postiz to use Pocket ID as an authentication provider.
Create the client in Pocket ID
Section titled “Create the client in Pocket ID”- In Pocket ID, open Administration → OIDC Clients and click Add OIDC Client.
- Enter a name such as
Postizand add the callback URLhttps://postiz.example.com/settings. - Click Create and copy the Client ID and the Client secret. The client secret is only shown once.
- On the client’s Access tab, select the groups that may sign in under Allowed User Groups, or choose All Users.
Configure Postiz
Section titled “Configure Postiz”Set up Postiz as described in the official documentation.
Modify the following environment variables in the docker-compose.yml file:
NEXT_PUBLIC_POSTIZ_OAUTH_DISPLAY_NAME: "Pocket ID"NEXT_PUBLIC_POSTIZ_OAUTH_LOGO_URL: "https://raw.githubusercontent.com/pocket-id/pocket-id/refs/heads/main/frontend/static/img/static-logo.svg"POSTIZ_GENERIC_OAUTH: "true"POSTIZ_OAUTH_URL: "https://id.example.com"POSTIZ_OAUTH_AUTH_URL: "https://id.example.com/authorize"POSTIZ_OAUTH_TOKEN_URL: "https://id.example.com/api/oidc/token"POSTIZ_OAUTH_USERINFO_URL: "https://id.example.com/api/oidc/userinfo"POSTIZ_OAUTH_CLIENT_ID: "<client-id>"POSTIZ_OAUTH_CLIENT_SECRET: "<client-secret>"