hevelius / files_external_onedrive

:mega: :floppy_disk: External storage support for Microsoft OneDrive
GNU General Public License v2.0
72 stars 22 forks source link

result.data is undefined in oauth2.js #45

Open thekarinka opened 3 years ago

thekarinka commented 3 years ago

Hello,

I am trying to configure external onedrive on my instance of NC 19.0.5 with files_external_onedrive in version 1.0.9 (from yesterday). I followed instructions in readme, but when I click "grant access" it won't happen anything and in console are found logs attached below. Do you know what can cause this error? I looked for oauth file but I didn't found it, so is it problem with some library?

image

edit: Problem still persists after update to NC 20.0.4, external storage 1.11.0 and external_storage_onedrive 1.0.9

parajbs commented 3 years ago

Hello thekarinka

I also have the same problems with NC 20.0.1! I have observed that when I click on "Grant access" in the browser (Chrome, Opera GX, Opera and also Edge) nothing happens, except the error message in the browser console! But when I use Firefox in the browser, it opens the Microsoft login, but it doesn't work and the error message in the console again! Application Client ID / Client Secret and also URI is ok! I think it could be because the Microsoft Application Permission is wrong or not completely correct!

I haven't had time to test it yet!

I guess that with some previous versions there were already problems with the "grant access" button!

dell-mic commented 3 years ago

I did run into the same error on NC 20.0.4. Tested with Firefox on macOS.

richard-dg commented 3 years ago

I just updated to external_storage_onedrive 1.1.0, Problem sill exists.

Brazier85 commented 3 years ago

+1

scottinic commented 3 years ago

+1 NC 20.0.5 external_storage_onedrive 1.1.0 Tested Google Chrome, Edge chromium, Firefox and Internet Explorer

thekarinka commented 3 years ago

I tried install fresh VM with ubuntu 20.4, Nextcloud 20.0.7, I installed External storage support version 1.11.1, I installed files_external_onedrive following README from master branch and problem still persists :(. So it looks that it is not problem of nextcloud instances updated from older versions or caused by some user applications.

JSdeJong commented 3 years ago

Same issue here; I thought because I also had enabled Onedrive Integration app (which does work). I had it working on my instance, but after enabling Onedrive Integration I couldn't add it again. Had the same issue with Google Drive intergation and Googel Drive External storage (when I had integration enabled; the grant access button wasn't working.

On another Nextcloud instance (non-docker) it does work however (also in Chrome on the same computer).