Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to upload files to OneDrive using Python OneDrive sdk?

I am not able to get through the authentication successfully using Python OneDrive sdk. I can find examples for that with URLs, but I actually just want a code to upload files after authentication. No webpage is created by me for this purpose. In this case what should be my redirect URI?

like image 422
Boobal Ganesan Avatar asked Mar 09 '26 20:03

Boobal Ganesan


1 Answers

you need to set redirect http://localhost:8080/ in python and in onedrive app settings then after start browser windows will be opened in which you need press allow button.

enter image description here

like image 193
ostapyrih Avatar answered Mar 12 '26 11:03

ostapyrih



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!