Skip to content

triauth for GreenlightOIDC

Let your team into their BigBlueButton meeting rooms with one approval on their own device, and no Greenlight passwords.

  • Meetings and video
  • Open source
Sign-in through
OpenID Connect bridge
Available in
Greenlight v3
Set up in
The .env file

About Greenlight

Greenlight is the web front end for a BigBlueButton video conferencing server. People sign in, get their own meeting rooms, invite others by link, and find their recordings, while administrators manage users and roles. It is the usual way a school or a company puts BigBlueButton in front of its people.

Connect Greenlight to triauth

Greenlight signs people in through the triauth OpenID Connect bridge. Once connected, the Sign In and Sign Up buttons on Greenlight's home page lead to the bridge instead of a password form. People type their username and approve on their own device. Nobody keeps a Greenlight password, and when someone leaves, removing their identity records at your domain ends their access to the meeting rooms as well.

How it works

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

  2. On your server, add the settings below to Greenlight's .env file, then restart Greenlight with docker-compose down and docker-compose up -d. Replace example.com with your domain, meet.example.com with your Greenlight address, and the two placeholders with the client ID and the client secret from the bridge.

    ini
    OPENID_CONNECT_CLIENT_ID=<client ID from the bridge>
    OPENID_CONNECT_CLIENT_SECRET=<client secret from the bridge>
    OPENID_CONNECT_ISSUER=https://oidc.triauth.org/example.com
    OPENID_CONNECT_REDIRECT=https://meet.example.com
    OPENID_CONNECT_UID_FIELD=sub
  3. Open Greenlight's home page and click Sign In.

Checkpoint

Greenlight's Sign In button opens a page from the bridge that asks for the username, and the person's authenticator asks them to approve. Back in Greenlight, the person lands in their rooms.

Good to know

  • Once connected, everyone signs in through the bridge. Greenlight offers no password form next to it.
  • Everyone with an identity at your domain gets a Greenlight account the first time they sign in, with the default role, unless the registration method in Site Settings asks an administrator to approve new accounts or requires an invitation. To let only one team in, limit the app to a group when you connect it.
  • Roles come from Role Mapping By Email in Greenlight's site settings. The groups published at your domain are not used.

For the person who connects the app

SettingValue
Redirect addresshttps://<your-greenlight>/auth/openid_connect/callback. Greenlight builds it from OPENID_CONNECT_REDIRECT, which holds the plain Greenlight address
Where in Greenlightthe .env file next to docker-compose.yml
Issuerhttps://oidc.triauth.org/<your domain>, from which Greenlight reads the rest. Greenlight requires an HTTPS issuer on the default port, which the bridge is
UID fieldOPENID_CONNECT_UID_FIELD=sub, so that accounts are keyed by the identifier. Left unset, Greenlight's code falls back to preferred_username, the person's username, which is unique within your domain only

Greenlight keeps the client secret, so leave This app can't keep a secret unticked when you connect it on the bridge. Greenlight's external authentication guide walks through the setup, with Keycloak as its example provider, and the install guide lists the variables.

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.