Skip to content

Commit 4504fb9

Browse files
authored
Merge pull request #4 from datum-cloud/docs/update-env-variable
docs: add CUSTOM_REQUEST_HEADERS environment variable to README for local and production setups
2 parents 1f496dd + 1cf6de6 commit 4504fb9

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ Update `apps/login/.env.local` with:
226226
```env
227227
ZITADEL_API_URL=<http://localhost:8080 or Zitadel URL instance>
228228
ZITADEL_SERVICE_USER_TOKEN=<Personal Access Token from machine user with Org Owener and Iam Owener memberships>
229+
CUSTOM_REQUEST_HEADERS=x-zitadel-public-host:auth.staging.env.datum.net,x-zitadel-public-proto:https
229230
```
230231

231232
#### Starting the app
@@ -266,6 +267,8 @@ To run the production build of the Login UI locally, follow these steps:
266267
```env
267268
ZITADEL_API_URL=<your-zitadel-instance-url>
268269
ZITADEL_SERVICE_USER_TOKEN=<your-service-user-token>
270+
CUSTOM_REQUEST_HEADERS=x-zitadel-public-host:auth.staging.env.datum.net,x-zitadel-public-proto:https
271+
269272
```
270273

271274
3. **Run the Docker image:**

0 commit comments

Comments
 (0)