Skip to content

Commit 7bf99aa

Browse files
update readme instructions to include env variables
1 parent e36a605 commit 7bf99aa

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

tools/reverse-proxy/README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,29 @@
22

33
Routes HTTPS requests to UID sample sites based on subdomain.
44

5+
## Prerequisites: Environment Variables
6+
7+
Before running the sample sites, you need to create a `.env` file in the project root (`uid2-examples/`) with your API credentials.
8+
9+
1. Copy one of the sample files:
10+
```bash
11+
# For UID2
12+
cp .env.sample.uid2 .env
13+
14+
# For EUID
15+
cp .env.sample.euid .env
16+
```
17+
18+
2. Edit `.env` and add your credentials:
19+
- `UID_API_KEY` - Your API key
20+
- `UID_CLIENT_SECRET` - Your client secret
21+
- `UID_CSTG_SERVER_PUBLIC_KEY` - Your CSTG public key
22+
- `UID_CSTG_SUBSCRIPTION_ID` - Your CSTG subscription ID
23+
24+
See the sample files for all available configuration options.
25+
26+
---
27+
528
## Quick Start
629

730
### 1. Install Dependencies & Generate Certificates

0 commit comments

Comments
 (0)