Answer the question
In order to leave comments, you need to log in
How to make continuous OneDrive authorization - API?
There is a task: upload a file on a schedule to OneDrive.
I use the SDK library https://github.com/krizalys/onedrive-php-sdk
I made the setting, as if manually if you open the page with the script: a login link will be generated, there I must confirm the login and only then the API execution will start working.
Problem: the script will be run from cron once a day. What can you think of with authorization? It is not always necessary for me to confirm the entry manually in order to save a token that lives for 1 hour.
Answer the question
In order to leave comments, you need to log in
Use rclone - it has an authorization mechanism through a key.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question