files_external_onedrive icon indicating copy to clipboard operation
files_external_onedrive copied to clipboard

Failed to authorize two Onedrive accounts

Open wbs306 opened this issue 4 years ago • 4 comments

I have two Onedrive accounts and want to add them to my folder. But it seems like I can only add one account and failed to another. Even if I use the admin account to add the other one, it still failed. image Does it support multiple accounts?

wbs306 avatar Feb 17 '21 10:02 wbs306

I think I have sort of the same issue. I first added a Onedrive External storage without any problems. Then I added the Onedrive Integration with another app account, and now I can't add any Onedrive External storage anymore: Grant Access button isn't open a oauth page.

Had the same issue with de Google Drive External storage and Goolgle Drive integration; even with differen app accounts, the "Grant Access" button isn't doing anything. Double checked the apps and everything; and since I removed the google Drive integration I can connect Google drive with external storage again. But this doesn't work for Onedrive.

On another Nextcloud instance the connection opening an oauth page.

Or it relates to #53; but I can't seem to get it working in Firefox neither

JSdeJong avatar Feb 25 '21 07:02 JSdeJong

Take a look in you logs at Settings/Logging right after the error

baui-dev avatar Apr 14 '21 11:04 baui-dev

@Rawko The logs don't show anything. Pressing the button doesn't seem to respond.

Only line extra in Chrome console globals.js:60 $ is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. ie @ globals.js:60 get @ globals.js:91 (anonymous) @ gdrive.js?v=940e97dc-0:60 dispatch @ jquery.js:4737 v.handle @ jquery.js:4549

JSdeJong avatar Apr 14 '21 14:04 JSdeJong

@JSdeJong Do you have Composer installed and ran "Composer update" in files_external_onedrive. Fixed almost every issue I had on different distros. The problem for me is that OneDriveController.php isnt able to create a list of the directory.

baui-dev avatar Apr 15 '21 20:04 baui-dev