Skip to content

Commit 290f5b8

Browse files
committed
sample url for testing locally
1 parent 0d6d666 commit 290f5b8

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.env.sample

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
1-
UID2_CSTG_BASE_URL="https://operator-integ.uidapi.com"
1+
# for local development
2+
# UID2_BASE_URL="http://host.docker.internal:8080"
3+
4+
UID2_BASE_URL="https://operator-integ.uidapi.com"
25
UID2_CSTG_SERVER_PUBLIC_KEY="UID2-X-I-MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEo+jcPlk8GWn3iG0R5Il2cbFQI9hR3TvHxaBUKHl5Vh+ugr+9uLMiXihka8To07ETFGghEifY96Hrpe5RnYko7Q=="
36
UID2_CSTG_SUBSCRIPTION_ID="DMr7uHxqLU"
47

58
UID2_API_KEY="your-api-key"
6-
UID2_CLIENT_SECRET="your-client-secret"
9+
UID2_CLIENT_SECRET="your-client-secret"
10+
UID2_JS_SDK_URL="https://cdn.integ.uidapi.com/uid2-sdk-4.0.1.js"
11+
UID2_JS_SDK_NAME="__uid2"

web-integrations/javascript-sdk/client-server/server.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ app.engine('.html', ejs.__express);
2525
app.set('view engine', 'html');
2626

2727
app.get('/', (req, res) => {
28-
console.log('uid2ApiKey', uid2ApiKey);
29-
console.log('uid2ClientSecret', uid2ClientSecret);
30-
console.log('uid2BaseUrl', uid2BaseUrl);
3128
res.render('index', { uid2BaseUrl: uid2BaseUrl });
3229
});
3330

0 commit comments

Comments
 (0)