Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to authorize two Onedrive accounts #54

Open
wbs306 opened this issue Feb 17, 2021 · 4 comments
Open

Failed to authorize two Onedrive accounts #54

wbs306 opened this issue Feb 17, 2021 · 4 comments

Comments

@wbs306
Copy link

wbs306 commented Feb 17, 2021

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?

@JSdeJong
Copy link

JSdeJong commented Feb 25, 2021

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

@baui-dev
Copy link

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

@JSdeJong
Copy link

@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

@baui-dev
Copy link

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants