triauth for Stirling PDFOIDC
Let your team open Stirling PDF with one approval on their own device, and no Stirling PDF passwords.
- Sign-in through
- OpenID Connect bridge
- Available in
- All plans, on the build with login
- Set up in
settings.yml
About Stirling PDF
Stirling PDF is a web app for everyday PDF work. People merge, split, convert, compress, sign, and redact files from their browser. A company runs it on its own server, so documents never leave the building.
Connect Stirling PDF to triauth
Stirling PDF signs people in through the triauth OpenID Connect bridge. Once connected, its sign-in page shows a button for the new sign-in option. People on your team click it, type their username, and approve on their own device. Nobody keeps a Stirling PDF password, and when someone leaves, removing their identity records at your domain ends their access to Stirling PDF as well.
How it works
Open oidc.triauth.org and enter your domain. Paste Stirling PDF's redirect address,
https://pdf.example.com/login/oauth2/code/triauthwith your own Stirling PDF address in place ofpdf.example.com, and click Connect app. The bridge gives you a client ID and a client secret.On your server, add the settings below to Stirling PDF's
settings.ymland restart it. Replaceexample.comwith your domain and the two placeholders with the client ID and the client secret from the bridge.yamlsecurity: enableLogin: true oauth2: enabled: true provider: triauth issuer: https://oidc.triauth.org/example.com clientId: <client ID from the bridge> clientSecret: <client secret from the bridge> scopes: openid, profile, email useAsUsername: email autoCreateUser: trueOpen Stirling PDF's sign-in page and click the new sign-in button.
Checkpoint
Stirling PDF's sign-in page shows a new sign-in button. 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
- With the settings above, everyone with an identity at your domain gets an account at their first sign-in, and each account takes a seat on your plan. To let only one team in, limit the app to a group when you connect it. To hand out seats yourself, set
blockRegistration: trueand add people under Settings › Workspace › Users first. - Roles are set in Stirling PDF under Settings › Workspace › Users. The groups published at your domain are not used.
- Sign-in needs the build of Stirling PDF that includes login, such as the
latestorlatest-fatimage.
For the person who connects the app
| Setting | Value |
|---|---|
| Redirect address | https://<your-stirling>/login/oauth2/code/<provider>, where the provider is the provider value in the settings, triauth above |
| Where in Stirling PDF | settings.yml, section security.oauth2, or the matching environment variables such as SECURITY_OAUTH2_CLIENTID |
| Issuer | https://oidc.triauth.org/<your domain>, from which Stirling PDF reads the discovery document |
| Provider name | any lowercase name except keycloak, which Stirling PDF treats specially |
| Username | useAsUsername: email, so that accounts are keyed by the identifier. preferred_username gives short names such as john instead, unique within your domain only |
Stirling PDF keeps the client secret, so leave This app can't keep a secret unticked when you connect it on the bridge. Stirling PDF's single sign-on guide explains every setting, including how to turn off password login.
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 Stirling PDF to one team when you connect it.
- Read Stirling PDF's single sign-on guide for every setting it 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.