mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-09-05 04:24:21 +08:00
Docs for auth with email domain (#2939)
Co-authored-by: José Valim <jose.valim@dashbit.co>
This commit is contained in:
parent
2b194cae41
commit
a4fd19e400
4 changed files with 51 additions and 0 deletions
Binary file not shown.
Before Width: | Height: | Size: 54 KiB |
BIN
docs/images/email_domain_auth.png
Normal file
BIN
docs/images/email_domain_auth.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 38 KiB |
50
docs/teams/email_domain.md
Normal file
50
docs/teams/email_domain.md
Normal file
|
@ -0,0 +1,50 @@
|
|||
# Authentication via email domain
|
||||
|
||||
Email domain authentication allows you to authenticate users based on their email domain when they access your app servers and Livebook apps. For example, your users can access your Livebook apps using their company email accounts.
|
||||
|
||||

|
||||
|
||||
Currently, this feature supports only Google emails. If you need to use another email provider, [contact our support team](mailto:support@livebook.com?subject=Feature%20request%3A%20Additional%20email%20provider).
|
||||
|
||||
## Demo
|
||||
Here's a quick demo of the feature:
|
||||
|
||||
<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/KOdFgN2MqNA?si=2j-yNhWE8IzvY9-A" 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>
|
||||
|
||||
## Configuration
|
||||
|
||||
### 1. Register your email domain
|
||||
<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/l8SAxj62Pl8?si=2qZcLgMU7u9TH_Oy" 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 set up email domain authentication for your organization:
|
||||
|
||||
1. Log in to Livebook Teams.
|
||||
2. Navigate to the **Authentication** panel.
|
||||
3. Find the **Email domain** section.
|
||||
4. Click **Configure**.
|
||||
5. Enter your company's email domain(s):
|
||||
- Add one domain per line (e.g., `acme.com`)
|
||||
- You can add multiple domains if needed
|
||||
6. Save your changes.
|
||||
|
||||
### 2. Configure your deployment group to authenticate via Livebook Teams
|
||||
To enable email domain 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>
|
||||
|
||||
In order to do so, follow these steps:
|
||||
|
||||
1. Log in to Livebook Teams.
|
||||
2. Navigate to the **Deployments** panel.
|
||||
3. Click **Edit** on the deployment group where you want to enable authentication.
|
||||
4. Ensure that **Authenticate via Livebook Teams** is enabled.
|
||||
5. Save your changes.
|
||||
|
||||
### Test the integration
|
||||
To verify the integration is working, follow these steps:
|
||||
|
||||
1. Navigate to an application deployed in a deployment group configured with email domain authentication.
|
||||
2. The app server will redirect you to Livebook Teams for authentication.
|
||||
3. On the authentication page, you will see an option to sign in using your email provider.
|
||||
4. Click the name of your email provider and follow the authentication steps.
|
||||
5. Once authentication is complete, your email provider will redirect you back to your app server, and you will be successfully signed in.
|
1
mix.exs
1
mix.exs
|
@ -256,6 +256,7 @@ defmodule Livebook.MixProject do
|
|||
"docs/teams/intro_to_teams.md",
|
||||
"docs/teams/shared_secrets.md",
|
||||
"docs/teams/shared_file_storages.md",
|
||||
{"docs/teams/email_domain.md", title: "Email domain auth"},
|
||||
{"docs/teams/oidc_sso.md", title: "OIDC SSO"},
|
||||
"docs/authentication/basic_auth.md",
|
||||
"docs/authentication/cloudflare.md",
|
||||
|
|
Loading…
Add table
Reference in a new issue