docs/teams/oidc_sso.md
Livebook Teams supports OpenID Connect (OIDC) Single Sign-On, allowing you to authenticate users through your existing Identity Provider (IdP) when they access your app servers and Livebook apps.
Livebook version requirement {: .info}
Requires Livebook v0.18 or newer.
Here's a quick demo of the feature working.
<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/rG6OKethdJg?si=qofGf8M10F21IWd5" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>To integrate Livebook Teams with your OIDC SSO provider, follow these steps.
<!-- tabs-open -->Follow these instructions if you're using Okta, Microsoft Entra, Keycloak or any other OIDC-compliant Identity Provider.
Go to your IdP admin, and register Livebook Teams as a Relying Party (client/app). This is the info you’ll need from Livebook Teams:
https://teams.livebook.dev/identity/callbacks/oidchttps://teams.livebook.dev/identity/logoutopenid, profile, email, offline_accessOnce that’s done, you should retrieve the following information from the registration process:
https://YOUR_IDP/.well-known/openid-configurationTo configure OIDC SSO with Google Workspace, follow the steps below. You'll need a Google Workspace account with the super admin role.
livebook-teams (or your preferred name)https://www.googleapis.com/auth/cloud-identity.groups.readonlyhttps://accounts.google.com/.well-known/openid-configuration[email protected]). This user will be impersonated by the
service account to read group memberships, but access is limited to the scopes authorized in step 1.5.yourcompany.com)To enable OIDC authentication, your deployment group must be configured to use authentication via Livebook Teams.
<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/27GImleM3MQ?si=jlsa7cGvIgnM4xmN" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>To do so, follow these steps:
To verify the integration is working, follow these steps: