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

result.data is undefined in oauth2.js #45

Open
thekarinka opened this issue Dec 17, 2020 · 7 comments
Open

result.data is undefined in oauth2.js #45

thekarinka opened this issue Dec 17, 2020 · 7 comments

Comments

@thekarinka
Copy link

thekarinka commented Dec 17, 2020

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
Copy link

parajbs commented Dec 18, 2020

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
Copy link

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

@richard-dg
Copy link

richard-dg commented Dec 30, 2020

I just updated to external_storage_onedrive 1.1.0, Problem sill exists.

@Ferdyverse
Copy link

+1

@scottinic
Copy link

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

@thekarinka
Copy link
Author

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
Copy link

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

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

7 participants