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

http://dev.example.com

http://dev1.example.com

by giving these 2 urls facing problem unique domain

when give redirect url not working.onedrive picker

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

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -