Skip to content

Commit f2282dc

Browse files
committed
add docs for gcp iap
1 parent 497ec0f commit f2282dc

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

docs/docs/configuration/auth/overview.mdx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,16 @@ Optional environment variables:
8080
- `AUTH_EE_GOOGLE_CLIENT_ID`
8181
- `AUTH_EE_GOOGLE_CLIENT_SECRET`
8282

83+
### GCP IAP
84+
---
85+
86+
Custom provider built to enable automatic Sourcebot account registration/login when using GCP IAP.
87+
88+
**Required environment variables**
89+
- `AUTH_EE_GCP_IAP_ENABLED`
90+
- `AUTH_EE_GCP_IAP_AUDIENCE`
91+
- This can be found by selecting the ⋮ icon next to the IAP-enabled backend service and pressing `Get JWT audience code`
92+
8393
### Okta
8494
---
8595

docs/docs/configuration/environment-variables.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ The following environment variables allow you to configure your Sourcebot deploy
5151
| `AUTH_EE_OKTA_CLIENT_ID` | `-` | <p>The client ID for Okta SSO authentication.</p> |
5252
| `AUTH_EE_OKTA_CLIENT_SECRET` | `-` | <p>The client secret for Okta SSO authentication.</p> |
5353
| `AUTH_EE_OKTA_ISSUER` | `-` | <p>The issuer URL for Okta SSO authentication.</p> |
54+
| `AUTH_EE_GCP_IAP_ENABLED` | `false` | <p>When enabled, allows Sourcebot to automatically register/login from a successful GCP IAP redirect</p> |
55+
| `AUTH_EE_GCP_IAP_AUDIENCE` | - | <p>The GCP IAP audience to use when verifying JWT tokens. Must be set to enable GCP IAP JIT provisioning</p> |
5456

5557

5658
### Review Agent Environment Variables

0 commit comments

Comments
 (0)