File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed
Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change 22
33Routes 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
You can’t perform that action at this time.
0 commit comments