Skip to content

triauth for WeblateOIDC

Let your translators open Weblate with one approval on their own device, and no Weblate passwords.

  • Translation and localization
  • Open source
Sign-in through
OpenID Connect bridge
Available in
Every self-hosted Weblate, and dedicated hosted instances
Set up in
Environment variables

About Weblate

Weblate is a web-based translation platform. It reads the text of software, documentation, or websites straight from a git repository, lets translators and reviewers work in the browser, and pushes the translations back as commits. Companies and open-source projects use it to localize products into many languages.

Connect Weblate to triauth

Weblate signs people in through the triauth OpenID Connect bridge. Once connected, the login page shows a button with your domain's name. Translators click it, type their username, and approve on their own device. Nobody keeps a Weblate password, and when someone leaves, removing their identity records at your domain ends their access to Weblate as well.

How it works

  1. Open oidc.triauth.org and enter your domain. Paste Weblate's redirect address, https://weblate.example.com/accounts/complete/oidc/ with your own Weblate address in place of weblate.example.com, and click Connect app. The bridge gives you a client ID and a client secret.

  2. Add the settings below to the environment of the Weblate container and restart it. Replace example.com with your domain and the two placeholders with the client ID and the client secret from the bridge.

    ini
    WEBLATE_SOCIAL_AUTH_OIDC_OIDC_ENDPOINT=https://oidc.triauth.org/example.com
    WEBLATE_SOCIAL_AUTH_OIDC_KEY=<client ID from the bridge>
    WEBLATE_SOCIAL_AUTH_OIDC_SECRET=<client secret from the bridge>
    WEBLATE_SOCIAL_AUTH_OIDC_TITLE=example.com
  3. Open Weblate's login page and click the button with your domain's name.

Checkpoint

Weblate's login page lists a button labelled example.com among the sign-in options. 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 registration open, which is Weblate's default, everyone with an identity at your domain gets an account the first time they sign in. To let only one team in, limit the app to a group when you connect it, or list the allowed sign-in methods in REGISTRATION_ALLOW_BACKENDS.
  • Since Weblate 2026.10, the groups published at your domain can fill Weblate teams, with SOCIAL_AUTH_OIDC_GROUPS_KEY = "groups" and a map from group names to team IDs in the Python settings.
  • The shared hosted service does not offer this. Dedicated hosted instances do, set up by Weblate's team.

For the person who connects the app

SettingValue
Redirect addresshttps://<your-weblate>/accounts/complete/oidc/, with the trailing slash
Where in Weblatethe WEBLATE_SOCIAL_AUTH_OIDC_* variables of the Docker image, or the matching SOCIAL_AUTH_OIDC_* settings in settings.py
Issuerthe endpoint variable takes https://oidc.triauth.org/<your domain> without the well-known suffix, and the rest comes from the discovery document
PKCEoff by default. SOCIAL_AUTH_OIDC_USE_PKCE = True turns it on, and the bridge accepts both
User namestaken from preferred_username, the person's username, such as john

Weblate keeps the client secret, so leave This app can't keep a secret unticked when you connect it on the bridge. Weblate's authentication guide covers registration and teams, and the Python Social Auth page lists every setting of the sign-in itself.

Next steps

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.