triauth for PostizOIDC
Let your marketing team open Postiz with one approval on their own device, and no Postiz passwords.
- Sign-in through
- OpenID Connect bridge
- Available in
- Every self-hosted Postiz
- Set up in
- Environment variables
About Postiz
Postiz is a tool for planning and publishing posts to social networks such as LinkedIn, X, Instagram, and YouTube from one place. Marketing teams use it to schedule content, work on drafts together, and see how posts perform. It runs as a hosted service or on your own server.
Connect Postiz to triauth
Postiz signs people in through the triauth OpenID Connect bridge. Once connected, its sign-in page shows a Sign in with button carrying your domain's name. People on your team click it, type their username, and approve on their own device. Nobody keeps a Postiz password, and when someone leaves, removing their identity records at your domain ends their access to Postiz as well.
How it works
Open oidc.triauth.org and enter your domain. Paste Postiz's redirect address,
https://postiz.example.com/settingswith your own Postiz address in place ofpostiz.example.com, and click Connect app. The bridge gives you a client ID and a client secret.Add the settings below to Postiz's environment and restart it. Replace
example.comwith your domain and the two placeholders with the client ID and the client secret from the bridge.iniPOSTIZ_GENERIC_OAUTH=true NEXT_PUBLIC_POSTIZ_OAUTH_DISPLAY_NAME=example.com POSTIZ_OAUTH_URL=https://oidc.triauth.org/example.com POSTIZ_OAUTH_AUTH_URL=https://oidc.triauth.org/example.com/authorize POSTIZ_OAUTH_TOKEN_URL=https://oidc.triauth.org/example.com/token POSTIZ_OAUTH_USERINFO_URL=https://oidc.triauth.org/example.com/userinfo POSTIZ_OAUTH_CLIENT_ID=<client ID from the bridge> POSTIZ_OAUTH_CLIENT_SECRET=<client secret from the bridge>Open Postiz's sign-in page and click Sign in with example.com.
Checkpoint
Postiz's sign-in page shows a Sign in with button with your domain's name. Choosing it opens a page from the bridge that asks for the username, and the person's authenticator asks them to approve.
Good to know
- Everyone with an identity at your domain gets a Postiz account, and a workspace of their own, the first time they sign in. Accounts that were created with a password before are not matched, so start with this sign-in on a fresh Postiz, or invite people into the existing workspace afterwards. To let only one team in, limit the app to a group when you connect it.
- Turning this sign-in on replaces the GitHub and Google sign-in buttons.
- Roles inside a workspace are managed in Postiz.
For the person who connects the app
| Setting | Value |
|---|---|
| Redirect address | https://<your-postiz>/settings, the settings page of the Postiz front end |
| Where in Postiz | the environment of the Postiz containers |
| Addresses | the authorization, token, and userinfo addresses go in one by one, as above, since Postiz does not read the discovery document |
| Button | NEXT_PUBLIC_POSTIZ_OAUTH_DISPLAY_NAME names it, and NEXT_PUBLIC_POSTIZ_OAUTH_LOGO_URL can give it an icon |
| Claims | Postiz reads email and sub from the userinfo response, with the scopes openid profile email built in |
Postiz keeps the client secret, so leave This app can't keep a secret unticked when you connect it on the bridge. Postiz's OIDC configuration guide lists every variable.
Next steps
- Read the OpenID Connect bridge page for what every connected app gets and what the bridge keeps private.
- Read Roll out to your team to give everyone in your organization an identifier at your domain.
- Read Groups to limit Postiz to one team when you connect it.
- Read Postiz's OIDC configuration guide for every setting Postiz offers.
All logos and trademarks belong to their respective owners and do not imply affiliation or endorsement of the organization or product by triauth, nor vice versa. The content provided on this page may include information from third-party sources. We do not assume any responsibility for the completeness, correctness, or applicability of the information. You should independently verify any details before relying on them.