All Projects → hevelius → files_external_onedrive

hevelius / files_external_onedrive

Licence: GPL-2.0 License
📣 💾 External storage support for Microsoft OneDrive

Programming Languages

PHP
23972 projects - #3 most used programming language
javascript
184084 projects - #8 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to files external onedrive

Joplin
Joplin - an open source note taking and to-do application with synchronization capabilities for Windows, macOS, Linux, Android and iOS. Forum: https://discourse.joplinapp.org/
Stars: ✭ 26,916 (+44760%)
Mutual labels:  nextcloud, onedrive
files pdfviewer
📖 A PDF viewer for Nextcloud
Stars: ✭ 56 (-6.67%)
Mutual labels:  nextcloud
files photospheres
Nextcloud app for viewing Google PhotoSphere 360° images (panorama-images)
Stars: ✭ 20 (-66.67%)
Mutual labels:  nextcloud
silverbox
Guide describing how to setup compact, silent and energy-efficient GNU/Linux home server
Stars: ✭ 42 (-30%)
Mutual labels:  nextcloud
gestion
baimard.github.io/gestion
Stars: ✭ 37 (-38.33%)
Mutual labels:  nextcloud
direct menu
Nextcloud/OwnCloud app to provide easy access to all apps in the header
Stars: ✭ 16 (-73.33%)
Mutual labels:  nextcloud
apporder
Nextcloud app to enable sorting inside the app menu
Stars: ✭ 30 (-50%)
Mutual labels:  nextcloud
mmb
Set of Dockerfiles and assets related to them for building Docker images with different services
Stars: ✭ 34 (-43.33%)
Mutual labels:  nextcloud
nextcloud
Nextcloud OCS and WebDAV API wrapper for Ruby.
Stars: ✭ 16 (-73.33%)
Mutual labels:  nextcloud
nextcloud sentry
Sentry integration for Nextcloud
Stars: ✭ 26 (-56.67%)
Mutual labels:  nextcloud
privacy-links
[POLISH] Chroń swoją prywatność z najlepszymi narzędziami zebranymi w jednym miejscu.
Stars: ✭ 31 (-48.33%)
Mutual labels:  nextcloud
onedrive user enum
onedrive user enumeration - pentest tool to enumerate valid onedrive users
Stars: ✭ 223 (+271.67%)
Mutual labels:  onedrive
issuetemplate
🚧 Nextcloud app for easy bug reporting with prefilled issue templates
Stars: ✭ 12 (-80%)
Mutual labels:  nextcloud
nextcloud-grauphel
Tomboy note synchronization REST server nextcloud app
Stars: ✭ 53 (-11.67%)
Mutual labels:  nextcloud
user external
👥 External user authentication methods like IMAP, SMB and FTP
Stars: ✭ 80 (+33.33%)
Mutual labels:  nextcloud
check nextcloud
Nagios/Centreon plugin for nextcloud serverinfo API (https://github.com/nextcloud/serverinfo)
Stars: ✭ 22 (-63.33%)
Mutual labels:  nextcloud
PUQ WHMCS-Public-Nextcloud
Module for the WHMCS system. For manage NextCloud users as a product.
Stars: ✭ 17 (-71.67%)
Mutual labels:  nextcloud
nextcloud-portable
🚀 Nextcloud portable for Windows
Stars: ✭ 21 (-65%)
Mutual labels:  nextcloud
treafik nxtcloud
A dockerized Nextcloud instance served with traefik
Stars: ✭ 19 (-68.33%)
Mutual labels:  nextcloud
3rdparty
🔋 3rd party libraries that are needed to run Nextcloud
Stars: ✭ 41 (-31.67%)
Mutual labels:  nextcloud

Files External Onedrive

external storage support for NextCloud

License: GPL v2 Build Status codecov Donate

Requirements:

  • php with zlib support
  • files_external app must be enabled

Steps For Installation:

  • Get the code
$ cd /server_path/apps
$ git clone https://github.com/hevelius/files_external_onedrive
$ cd files_external_onedrive
$ composer install
  • Activate the files_external app from NC settings page or cli
$ cd /server_path/
$ php -f occ app:enable files_external
  • Activate files_external_onedrive from NC settings page or cli
$ cd /server_path/
$ php -f occ app:enable files_external_onedrive
  • Fill up the storage details (See Below Configuring OAuth2)
  • Fire up the files page to see the OneDrive mounted as external storage

Configuring OAuth2

Connecting OneDrive is a little more work because you have to create a onedrive app.

Create new app
  • Click New registration
  • Name Your App
  • Make sure to select:
    Accounts in any organizational directory (Any Azure AD directory - Multitenant) and personal Microsoft accounts (e.g. Skype, Xbox)

  • For Redirect URL (optional) add the following URL http://path/to/nextcloud/index.php/settings/user/externalstorages (Replace http://path/to/nextcloud/index.php with you valid Nextcloud installation path, ensure that you don't leave index.php in the path. Example: https://nextcloud.myserver.com/settings/admin/externalstorages)
  • Click Register to create your app.
Add client secret
  • Under the section Certificates and secrets add new client secret, Name, choose expires:never.
    Make sure to copy the created key (you will not be able to do that later on). Key needs to be pasted in Nextcloud in last step
Add permissions to app
  • Under the section API permissions
  • Click add a permissions
  • Choose Microsoft Graph, Delegated permissions
  • add auth for [ User.Read | Files.ReadWrite.All | offline_access ] (the last is necessary to perform a correct token refresh)
On Nextcloud
  • Copy Client Id and client secret then Go to Nextcloud /settings/user/externalstorages and Add a new storage OneDrive
  • Fill the details Client Id, Client Secrets from you onedrive App page
  • Click Grant Access and then you will be redirected for OAuth login
  • After completing the OAuth you will be redirect back to Storage Section and you should see green mark along your storage configuration

References:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].