Closed ghost closed 5 years ago
The correct paths are https://path/to/nextcloud/index.php/settings/user/externalstorages https://path/to/nextcloud/index.php/settings/admin/externalstorages
without querystring.
Sorry the instructions to configuring Azure is a little confused. I hope to work on as soon as possible.
For the XHR request is there any error on your browser console?
Not working when click "Grand access". I will redirect to microsoft login and immediatly I receve error on attach file.
I have Client Id configured
Not working when click "Grand access". I will redirect to microsoft login and immediatly I receve error on attach file.
I have Client Id configured
seems to be a mistake on azure... Have you give right permissions?
It's my Azure.
RESOLVED. Must select this option, when create App Registrations on Azure
Found an error maybe realated to my problem. My Nextcloud tries to load a script from a nonexistent location. It is installed into "subdirectory", but tries to load a script from "subdirectory//subdirectory"
Loading failed for the <script> with source “https://example.com/subdirectory//subdirectory/apps/files_external_onedrive/js/onedrive.js?v=241bed0d-0”.
@arv4 You can see here nextcloud subdir configuration
@Maverick1983 my Nextcloud works fine, it's just this one script.
The problem is in files_external_onedrive/lib/Backend/OneDrive.php
The javascript file onedrive.js
does not load correctly if you install Nextcloud in a subfolder.
My solution to fix this issue:
https://gist.github.com/arv4/319079995097d17a4a73f257a3448132
With 1.0.5 version I have this error
With 1.0.5 version I have this error
I get the same error.
EDIT: This works: https://path/to/nextcloud/settings/admin/externalstorages
I tried to create a onedrive app, but I encountered several problems.
Azure does not accept the Authentication Redirect URI
http://path/to/nextcloud/index.php/settings/admin?sectionid=storage
. I am getting the error message:Does not contain query strings
Also the URL must start with HTTPS. Maybe the Redirect URI should behttps://path/to/nextcloud/index.php/settings/admin/externalstorages
?After clicking "Grant access" in my Nextcloud installation nothing happens. An XHR request gets send to
http://path/to/nextcloud/index.php/apps/files_external/ajax/oauth2.php
, but I don't get redirected or get any error message.I am using Nextcloud 16.0.1