javascript - how to handle multiple tenants with onedrive picker -
i facing problem onedrive picker https://js.live.net/v5.0/onedrive.js
i have different redirect url's
by giving these 2 urls facing problem
when give redirect url not working.
and tried using https://js.live.net/v7.0/onedrive.js while using 1 in pop redirect url loading , redirecting , closing pop not getting call success
<script type="text/javascript" src="https://js.live.net/v5.0/onedrive.js" id="onedrive-js" client-id="app_id"></script> <script type="text/javascript"> function launchonedrivesaver(){ var saveroptions = { success: function(files){ console.log(files); }, progress: function(p) { // upload progressing }, cancel: function(){ // upload cancelled }, error: function(e) { // error occured } onedrive.save(saveroptions); } </script>
have tried adding root domain? try order :
http://example.com http://dev.example.com http://dev1.example.com
Comments
Post a Comment