mirror of
https://github.com/abraunegg/onedrive
synced 2024-06-15 20:25:18 +02:00
added missing scope
This commit is contained in:
parent
957b034805
commit
ac555fd574
|
@ -79,7 +79,7 @@ final class OneDriveApi
|
||||||
{
|
{
|
||||||
import std.stdio, std.regex;
|
import std.stdio, std.regex;
|
||||||
char[] response;
|
char[] response;
|
||||||
string url = authUrl ~ "?client_id=" ~ clientId ~ "&scope=files.readwrite.all%20offline_access&response_type=code&redirect_uri=" ~ redirectUrl;
|
string url = authUrl ~ "?client_id=" ~ clientId ~ "&scope=files.readwrite%20files.readwrite.all%20offline_access&response_type=code&redirect_uri=" ~ redirectUrl;
|
||||||
log.log("Authorize this app visiting:\n");
|
log.log("Authorize this app visiting:\n");
|
||||||
write(url, "\n\n", "Enter the response uri: ");
|
write(url, "\n\n", "Enter the response uri: ");
|
||||||
readln(response);
|
readln(response);
|
||||||
|
|
Loading…
Reference in a new issue