File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
web-integrations/javascript-sdk/client-server Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 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"
25UID2_CSTG_SERVER_PUBLIC_KEY = " UID2-X-I-MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEo+jcPlk8GWn3iG0R5Il2cbFQI9hR3TvHxaBUKHl5Vh+ugr+9uLMiXihka8To07ETFGghEifY96Hrpe5RnYko7Q=="
36UID2_CSTG_SUBSCRIPTION_ID = " DMr7uHxqLU"
47
58UID2_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"
Original file line number Diff line number Diff line change @@ -25,9 +25,6 @@ app.engine('.html', ejs.__express);
2525app . set ( 'view engine' , 'html' ) ;
2626
2727app . 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
You can’t perform that action at this time.
0 commit comments