You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You need to restart Bytebase and re-login to make the change take effect.
27
25
28
26
</HintBlock>
27
+
28
+
## Disallow Sign-in with Email & Password
29
+
30
+
<PricingPlanBlockfeature_name='SSO' />
31
+
32
+
As `Workspace Admin`, having had [SSO](https://www.bytebase.com/docs/administration/sso/overview) (for example [OAuth 2.0 in GitHub](https://www.bytebase.com/docs/administration/sso/oauth2/#github)) configured, you can [enforce SSO sign-in](https://www.bytebase.com/docs/administration/sso/overview/#enforce-sso-sign-in) for all users in Workspace.
33
+
34
+
## Sign-in from Email Domains
35
+
36
+
Go to **Settings** -> **General**, scroll down to **Security** section. Fill in `Workspace Domain` tab with the email domain for your Workspace members. Click **Update** to save changes.
@@ -36,10 +36,11 @@ The information is the base concept of [OAuth 2.0](https://oauth.net/2/) and com
36
36
37
37
### User information mapping
38
38
39
-
For different providers, the structures returned by their user information API are usually not the same. In order to know how to map the user information from an provider into Bytebase user fields, you need to fill the user information mapping form.
39
+
For different providers, the structures returned by their user information API are usually not the same. That's why you need to fill an information mapping form for mapping user information into Bytebase user fields.
40
40
41
-
Bytebase will use the mapping to import the user profile fields when creating new accounts.
42
-
The most important user field mapping is the identifier which is used to identify the Bytebase account associated with the OAuth 2.0 login.
41
+
Bytebase uses the mapping to import user profile fields when creating new accounts.
42
+
43
+
The most important information is `Bytebase user's email`. It identifies the Bytebase account associated with the OAuth 2.0 login.
1. Follow [Creating an OAuth App in GitHub](https://docs.github.com/en/developers/apps/building-oauth-apps/creating-an-oauth-app) to create an OAuth app in GitHub.
81
+
1. Follow [Creating an OAuth App in GitHub](https://docs.github.com/en/developers/apps/building-oauth-apps/creating-an-oauth-app) to create an OAuth app in GitHub, where you replace `YOUR_EXTERNAL_URL` in the image below with the external URL you [configured](https://www.bytebase.com/docs/get-started/install/external-url) in Bytebase Workspace.
As a **Workspace Admin**, you can enforce SSO sign-in for all users in the workspace.
44
+
As `Workspace Admin`, you can enforce SSO sign-in for all users in Workspace.
45
45
46
-
Go to the **Settings > Workspace > General**, find the **Security** section and turn on the **Disallow signin with email&password** option.
46
+
In **Workspace**, go to **Settings** > **General**, scroll down to **Account** section and switch on `Disallow signin with email & password`. Then users can only sign in with SSO.
Copy file name to clipboardExpand all lines: content/docs/get-started/install/external-url.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,8 @@ than the internal one.
15
15
16
16
</HintBlock>
17
17
18
+
For testing purpose, you can get an endpoint online with [ngrok](https://dashboard.ngrok.com/get-started/setup/macos) as external URL.
19
+
18
20
When running Bytebase in production, you should not make the node that's running the Bytebase server directly accessible to the client. Instead, you should set up an gateway such as Nginx or Caddy to forward requests to Bytebase.
19
21
20
22
Logically, you need to configure 2 endpoints, the external URL that users use to access the Bytebase console, and the GitOps Webhook URL that the VCS pushes the webhook event for GitOps workflow. The former usually is accessed from
0 commit comments