mirror of
https://github.com/abraunegg/onedrive
synced 2026-03-14 14:35:46 +01:00
added missing scope
This commit is contained in:
parent
957b034805
commit
ac555fd574
1 changed files with 1 additions and 1 deletions
|
|
@ -79,7 +79,7 @@ final class OneDriveApi
|
|||
{
|
||||
import std.stdio, std.regex;
|
||||
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");
|
||||
write(url, "\n\n", "Enter the response uri: ");
|
||||
readln(response);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue