-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.sample.uid2
More file actions
59 lines (48 loc) · 2.89 KB
/
.env.sample.uid2
File metadata and controls
59 lines (48 loc) · 2.89 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# ==============================================================================
# UID2 Environment Configuration
# ==============================================================================
# This file provides default UID2 integration settings.
# Edit the first section with your UID2 credentials and keys.
# The values in the bottom section are UID2-specific constants and should NOT
# be changed unless you are configuring for a different UID2 environment.
#
# ⚠️ EDIT THESE VALUES FIRST - Your UID2 Credentials ⚠️
# ==============================================================================
# Server-Side & Client-Server Examples
UID_API_KEY="your-api-key"
UID_CLIENT_SECRET="your-client-secret"
# Server-Side Examples - Any secure random string for session encryption
SESSION_KEY="your-session-key-here"
# Client-Side Token Generation (CSTG)
UID_CSTG_SERVER_PUBLIC_KEY="UID2-X-I-MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEo+jcPlk8GWn3iG0R5Il2cbFQI9hR3TvHxaBUKHl5Vh+ugr+9uLMiXihka8To07ETFGghEifY96Hrpe5RnYko7Q=="
UID_CSTG_SUBSCRIPTION_ID="DMr7uHxqLU"
# React Client-Side Examples
# Note: These are the same values as the variables above, prefixed with REACT_APP_
# for use in React applications. Use your same UID2 credentials from above.
REACT_APP_UID_CSTG_SERVER_PUBLIC_KEY="UID2-X-I-MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEo+jcPlk8GWn3iG0R5Il2cbFQI9hR3TvHxaBUKHl5Vh+ugr+9uLMiXihka8To07ETFGghEifY96Hrpe5RnYko7Q=="
REACT_APP_UID_CSTG_SUBSCRIPTION_ID="DMr7uHxqLU"
# ==============================================================================
# UID2 Constants (Do NOT change unless working with different UID2 environment)
# ==============================================================================
# API Endpoints (Integration environment)
UID_SERVER_BASE_URL="https://operator-integ.uidapi.com" # ← For local development, use: http://host.docker.internal:8080
UID_CLIENT_BASE_URL="https://operator-integ.uidapi.com" # ← For local development, use: http://localhost:8080
# JavaScript SDK Configuration
UID_JS_SDK_URL="https://cdn.integ.uidapi.com/uid2-sdk-4.0.1.js"
UID_JS_SDK_NAME="__uid2"
# Google Secure Signals Configuration
UID_SECURE_SIGNALS_SDK_URL="https://cdn.integ.uidapi.com/uid2SecureSignal.js"
UID_SECURE_SIGNALS_STORAGE_KEY="_GESPSK-uidapi.com"
# Prebid Configuration
UID_STORAGE_KEY="__uid2_advertising_token"
# UI Display Configuration
IDENTITY_NAME="UID2"
DOCS_BASE_URL="https://unifiedid.com/docs"
# React Constants (for React-based examples)
REACT_APP_UID_CLIENT_BASE_URL="https://operator-integ.uidapi.com" # ← For local development, use: http://localhost:8080
REACT_APP_UID_JS_SDK_URL="https://cdn.integ.uidapi.com/uid2-sdk-4.0.1.js"
REACT_APP_UID_JS_SDK_NAME="__uid2"
REACT_APP_UID_SECURE_SIGNALS_SDK_URL="https://cdn.integ.uidapi.com/uid2SecureSignal.js"
REACT_APP_UID_SECURE_SIGNALS_STORAGE_KEY="_GESPSK-uidapi.com"
REACT_APP_IDENTITY_NAME="UID2"
REACT_APP_DOCS_BASE_URL="https://unifiedid.com/docs"