# Epic OP-10301 - Setup connection between Nextcloud and OpenProject (OAuth)

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-10301

## Detailed specification

### Motivation and background information

### Acceptance criteria

### Out of scope

| Attribute | Value |
| --- | --- |
| Mockups |  |

## Planning

| Attribute | Value |
| --- | --- |
| Roadmap |  |
| Date | 2022-05-04 – 2022-05-25 |
| Votes |  |
| List |  |
| Target versions | 12.2.0 |
| Sprint | 12.2.0 |
| Backlog bucket |  |
| Relevance |  |

## Subitems

| ID | Type | Subject | Status | Assignee | Target versions | Project | Priority | Spent time |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| OP-9664 | Feature | Multiple file storages per OP instance | closed |  | 12.1.0 | OpenProject | Medium |  |
| OP-10075 | Feature | Ensure deleting a project deletes all file links of all work packages of that project | closed |  | 12.1.0 | OpenProject | Medium |  |
| OP-9625 | Feature | OAuth settings of Nextcloud in OpenProject | closed |  | 12.2.0 | OpenProject | Medium |  |
| OP-10550 | Implementation | Manage "OAuth applications" for storages from within storages administration | closed |  | 12.2.0 | OpenProject | Medium |  |
| NEX-89 | Feature | check if an OpenProject server replies on the URL given in the admin settings | closed |  | Nextcloud Integration 2.0.0 | Stream Nextcloud app "OpenProject Integration" | High |  |
| NEX-90 | Feature | generate OAuth client in NC from the "OpenProject integration" admin page | closed |  | Nextcloud Integration 2.0.0 | Stream Nextcloud app "OpenProject Integration" | Medium |  |
| NEX-97 | Feature | New design implementations for the OAuth setup in Nextcloud | closed |  | Nextcloud Integration 2.0.0 | Stream Nextcloud app "OpenProject Integration" | Medium |  |
| NEX-102 | Feature | after the OAuth workflow bring the user back to the place she started from | closed |  | Nextcloud Integration 2.0.0 | Stream Nextcloud app "OpenProject Integration" | Medium |  |
| NEX-115 | Feature | Allow resetting the whole connection to an OpenProject instance | closed |  | Nextcloud Integration 2.0.0 | Stream Nextcloud app "OpenProject Integration" | Medium |  |
| OP-10660 | Implementation | Fix design and layout for storage creation workflow | closed |  |  | OpenProject | Medium |  |

## Bugs and other work packages

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Module |  |
| Enterprise plan |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Feature Lead |  |
| Designer | Marc Alcobé |
| Developers |  |
| Requested by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| Work |  |

## Description

# User Problem

## User

  - Administrator.

## Problem

  - OpenProject needs to be connected to Nextcloud in order to activate all the functionalities of the integration.

## Pain

  - This requires OAuth to be specified in a separate page and then manually copied on both ends (Nextcloud and OpenProject).

# Business Case

## Solution

  - Create a more user friendly flow to connect OpenProject and Nextcloud from both directions in both interfaces so people who are not 100% technical (i.e. don't know the term and the notion of "OAuth") can also connect this by themselfes.

## Out of Scope for the MVC

  - Modal step process.

## Differentiation

  - This will make life easier to all people using the Nexcloud integration and probably help also for future integrations.

## Next iteration

  - Discuss limits and possibilities specially with the security problems already known.

# Visuals

<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/32823/content"></div></figure>

<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/32838/content"></div></figure>

<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/32839/content"></div></figure>

<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/32831/content"></div></figure>

<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/32824/content"></div></figure>

<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/32825/content"></div></figure>

<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/32826/content"></div></figure>

<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/32837/content"></div></figure>

<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/32845/content"></div></figure>

<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/32844/content"></div></figure>

<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/32843/content"></div></figure>

<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/32830/content"></div></figure>

<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/32836/content"></div></figure>

<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/32828/content"></div></figure>

<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/32835/content"></div></figure>

<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/32832/content"></div></figure>

<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/32842/content"></div></figure>

## Figma

<https://www.figma.com/file/gtLQfPe09X7XugAH8L7dTy/Nextcloud-Integration?node-id=1069%3A34791>
