File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 66 < link rel ="stylesheet " type ="text/css " href ="/stylesheets/app.css " />
77 < link rel ="shortcut icon " href ="/images/favicon.png " />
88 < script src ="https://code.jquery.com/jquery-3.6.0.min.js "> </ script >
9- < script src ="<%- uid2BaseUrl %>/static/js /uid2-sdk-2.0 .0.js "> </ script >
9+ < script src ="https://cdn.integ.uidapi.com /uid2-sdk-3.9 .0.js "> </ script >
1010 < script >
1111 $ ( document ) . ready ( ( ) => {
1212 let callbackCounter = 0 ;
4040 updateGuiElements ( undefined ) ;
4141
4242 __uid2 . init ( {
43- callback : onUid2IdentityUpdated ,
4443 baseUrl : "<%- uid2BaseUrl %>"
4544 } ) ;
45+ __uid2 . callbacks . push ( onUid2IdentityUpdated ) ;
4646 } ) ;
4747 </ script >
4848 </ head >
Original file line number Diff line number Diff line change 55 < title > UID2 Publisher Standard Integration Example Login Result</ title >
66 < link rel ="stylesheet " type ="text/css " href ="/stylesheets/app.css " />
77 < link rel ="shortcut icon " href ="/images/favicon.png " />
8- < script src ="<%- uid2BaseUrl %>/static/js /uid2-sdk-2.0 .0.js "> </ script >
8+ < script src ="https://cdn.integ.uidapi.com /uid2-sdk-3.9 .0.js "> </ script >
99 < script >
1010 function onUid2IdentityUpdated ( state ) {
1111 // can automatically redirect user to index page here
1212 }
1313
1414 __uid2 . init ( {
15- callback : onUid2IdentityUpdated ,
1615 baseUrl : "<%- uid2BaseUrl %>" ,
1716 identity : < % - JSON . stringify ( identity ) % >
1817 } ) ;
18+ __uid2 . callbacks . push ( onUid2IdentityUpdated ) ;
1919 </ script >
2020</ head >
2121< body >
You can’t perform that action at this time.
0 commit comments