nextcloud / nextcloud/sharepoint

Unable to connect to 2FA-enabled O365 OneDrive

Open
#141 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
33
Forks
15
PR merge metrics
No merged PRs in 30d

Description

Steps to reproduce
  1. install nextcloud/sharepoint app
  2. create O365 OneDrive external storage, according to provided documentation at https://github.com/nextcloud/sharepoint#how-to-add-office-365-onedrive
Expected behaviour

connectivity to the (Sharepoint-based) O365 OneDrive share

Actual behaviour

NextCloud error :
"External mount error
There was an error with message: Empty response from the server"

Server configuration

NC21

More info
  • The O365 OneDrive share is protected with 2FA (TOTP).
  • The nextcloud/sharepoint app documentation is copied verbatim from rclone (with its reference : https://rclone.org/webdav/#sharepoint-online ), but omits this specific (and essential) rclone clause : "... If you have 2FA enabled, you have to generate an app password. ..."

If nextcloud/sharepoint is unable to cope with 2FA, this should be highlighted in the documentation.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the SharePoint app documentation linked in the issue and compare it with the referenced rclone SharePoint guidance, especially the clause about 2FA and app passwords. Determine whether the app should support TOTP-protected O365 OneDrive or document the required limitation; done means the behavior or documentation clearly explains how 2FA users can connect.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
authentication, cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.