diff --git a/.env.sample b/.env.sample index 93a0af6..d1f7f81 100644 --- a/.env.sample +++ b/.env.sample @@ -1,6 +1,11 @@ -UID2_CSTG_BASE_URL="https://operator-integ.uidapi.com" +# for local development +# UID2_BASE_URL="http://host.docker.internal:8080" + +UID2_BASE_URL="https://operator-integ.uidapi.com" UID2_CSTG_SERVER_PUBLIC_KEY="UID2-X-I-MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEo+jcPlk8GWn3iG0R5Il2cbFQI9hR3TvHxaBUKHl5Vh+ugr+9uLMiXihka8To07ETFGghEifY96Hrpe5RnYko7Q==" UID2_CSTG_SUBSCRIPTION_ID="DMr7uHxqLU" UID2_API_KEY="your-api-key" -UID2_CLIENT_SECRET="your-client-secret" \ No newline at end of file +UID2_CLIENT_SECRET="your-client-secret" +UID2_JS_SDK_URL="https://cdn.integ.uidapi.com/uid2-sdk-4.0.1.js" +UID2_JS_SDK_NAME="__uid2" \ No newline at end of file diff --git a/web-integrations/javascript-sdk/client-server/server.js b/web-integrations/javascript-sdk/client-server/server.js index b236b29..2e036d1 100644 --- a/web-integrations/javascript-sdk/client-server/server.js +++ b/web-integrations/javascript-sdk/client-server/server.js @@ -25,9 +25,6 @@ app.engine('.html', ejs.__express); app.set('view engine', 'html'); app.get('/', (req, res) => { - console.log('uid2ApiKey', uid2ApiKey); - console.log('uid2ClientSecret', uid2ClientSecret); - console.log('uid2BaseUrl', uid2BaseUrl); res.render('index', { uid2BaseUrl: uid2BaseUrl }); });