Skip to content

triauth for OktaOIDC

Let your staff sign in to Okta, and to every app behind it, with one approval on their own device.

  • Identity and access
  • Cloud service
Sign-in through
OpenID Connect bridge
Available in
Every Okta organization
Set up in
Security › Identity Providers

About Okta

Okta is a cloud identity service that companies put in front of their applications. Staff sign in to Okta once, and Okta signs them into everything else. Okta can also hand its own sign-in to an outside identity provider, which is where the bridge comes in.

Connect Okta to triauth

Okta signs people in through the triauth OpenID Connect bridge, as an identity provider. Once connected, Okta sends people from your domain to the bridge, where they type their username and approve on their own device, and then signs them into every app behind Okta. Nobody keeps an Okta password, and when someone leaves, removing their identity records at your domain ends their access to all of it.

How it works

  1. Open oidc.triauth.org and enter your domain. Paste Okta's redirect address, https://company.okta.com/oauth2/v1/authorize/callback with your own Okta domain in place of company.okta.com, and click Connect app. The bridge gives you a client ID and a client secret.

  2. In Okta's Admin Console, open Security › Identity Providers, click Add identity provider, choose OpenID Connect IdP, and fill in the fields below with your domain in place of example.com.

    FieldValue
    Nameexample.com
    Client ID and Client Secretfrom the bridge, with the authentication type Client secret
    Scopesopenid, email, profile, the defaults
    Issuerhttps://oidc.triauth.org/example.com
    Authorization endpointhttps://oidc.triauth.org/example.com/authorize
    Token endpointhttps://oidc.triauth.org/example.com/token
    JWKS endpointhttps://oidc.triauth.org/example.com/jwks
    Userinfo endpointhttps://oidc.triauth.org/example.com/userinfo
    IdP Usernameidpuser.email
  3. Under Security › Identity Providers › Routing Rules, add a rule that sends people from your domain to the new provider, or add its button to the sign-in page.

  4. Open Okta's sign-in page and sign in as one of them.

Checkpoint

Okta sends the person to a page from the bridge that asks for the username, and their authenticator asks them to approve. Okta then opens their dashboard.

Good to know

  • With Create new user (JIT) chosen under If no match is found, everyone with an identity at your domain gets an Okta account the first time they sign in. Okta's default profile requires a first and a last name, which the bridge does not send as separate claims, so clear Attribute required on both in Directory › Profile Editor first, or create the accounts beforehand and let Okta link them by email. To let only one team in, limit the app to a group when you connect it.
  • Group assignments for new users are set on the provider in Okta. Add groups to the scopes if you map the groups published at your domain.
  • An organization with a custom Okta domain has a second callback address on that domain. Register the one your people sign in through, or connect the app on the bridge once for each.

For the person who connects the app

SettingValue
Redirect addresshttps://<your Okta domain>/oauth2/v1/authorize/callback, and the same path on a custom domain if you use one
Where in OktaSecurity › Identity Providers, then Routing Rules
AddressesIssuer and the four endpoints go in one by one, as above, since Okta does not read the discovery document
Authentication typeClient secret. The Public key/private key option is a signed assertion the bridge does not accept
Account linkingMatch against the Okta username with IdP Username idpuser.email, which is the identifier

Okta keeps the client secret, so leave This app can't keep a secret unticked when you connect it on the bridge. Okta's OpenID Connect IdP guide explains every field, the routing rules, and the sign-in button.

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.