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

Nothing happens clicking "Grant Access" #57

Open LKN77 opened 3 years ago

LKN77 commented 3 years ago

Hi, I have done "Configuring OAuth2". Azure:

Nextcloud (20.0.2 @ UCS):

I dont know how to troubleshoot. Which log file makes sense to have a look at to find out whats going wrong?

Does any body have the same issue?

qiwo commented 3 years ago

“smbclient” 未安装。无法挂载 "smb / cifs", "smb / cifs 使用 oc 登录信息"。请联系管理员安装。将这个问题解决了 就可以点进去了

qiwo commented 3 years ago

http://kbssj.com/2020/12/21/%E5%AE%9D%E5%A1%94%E9%9D%A2%E6%9D%BF%E5%AE%89%E8%A3%85nextcloudsmbclient-%E6%9C%AA%E5%AE%89%E8%A3%85/

LKN77 commented 3 years ago

@qiwo: I dont know what you mean. SMB and CIFS ist not a problem. External storage to a SMB share is working perfectly.

qiwo commented 3 years ago

@qiwo:我不知道你的意思。SMB和CIFS并不是问题。SMB共享的外部存储运行良好。

sorry I can't help you

LKN77 commented 3 years ago

Hi qiwo, nevertheless many thanks to you. regards Lars

JiangXL commented 3 years ago

Same issue in NC21.

HighPriest commented 3 years ago

I am attempting to work on the Oauth issues with this app and I'm going to document my findings here.

HighPriest commented 3 years ago

The main function responsible for verifying authentication is onedriveVerifyCode in the /js/onedrive.js

Comparing contents of this file with latest documented changes, I've come out with this list of deprecations: https://docs.nextcloud.com/server/19/developer_manual/app/upgrade-guide.html#deprecated-global-variables where OC.generateUrl matches with this line: https://github.com/hevelius/files_external_onedrive/blob/9b021b16be28b59cdd2c49eaa03aafc94771c18a/js/onedrive.js#L3

This could be the reason for /files_external/js/../../..//apps/files_external_onedrive/js/onedrive.json) is not within the allowed path(s): lines in Nextcloud->Settings->Logging

UserXH726 commented 2 years ago

Is there a workaround? I have the same problem in NC22

alexthecamel commented 2 years ago

I'm also experiencing this issue. Let me know if I can help troubleshoot.

ghost commented 2 years ago

Same Problem here. [Nextcloud Hub II] (23.0.2)