triauth for OktaOIDC
Let your staff sign in to Okta, and to every app behind it, with one approval on their own device.
- 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
Open oidc.triauth.org and enter your domain. Paste Okta's redirect address,
https://company.okta.com/oauth2/v1/authorize/callbackwith your own Okta domain in place ofcompany.okta.com, and click Connect app. The bridge gives you a client ID and a client secret.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.Field Value Name example.comClient ID and Client Secret from the bridge, with the authentication type Client secret Scopes openid,email,profile, the defaultsIssuer https://oidc.triauth.org/example.comAuthorization endpoint https://oidc.triauth.org/example.com/authorizeToken endpoint https://oidc.triauth.org/example.com/tokenJWKS endpoint https://oidc.triauth.org/example.com/jwksUserinfo endpoint https://oidc.triauth.org/example.com/userinfoIdP Username idpuser.emailUnder 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.
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
groupsto 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
| Setting | Value |
|---|---|
| Redirect address | https://<your Okta domain>/oauth2/v1/authorize/callback, and the same path on a custom domain if you use one |
| Where in Okta | Security › Identity Providers, then Routing Rules |
| Addresses | Issuer and the four endpoints go in one by one, as above, since Okta does not read the discovery document |
| Authentication type | Client secret. The Public key/private key option is a signed assertion the bridge does not accept |
| Account linking | Match 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
- 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 publish teams and map them in Okta.
- Read Okta's OpenID Connect IdP guide for every setting Okta 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.