Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions protocols/profiles/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,3 +184,7 @@ Create a *multi-TIFF* containing the needed icon sizes:

Customization of connection profiles using OpenID Connect provider and AssumeRoleWithWebIdentity STS API.
- [Sample connection profiles for S3 and OpenID Connect Federation](aws_oidc.md)

### ownCloud Infinite Scale & OpenCloud with OpenID Connect

- [Connection profile for ownCloud Infinite Scale & OpenCloud with OpenID Connect](../../tutorials/owncloud_opencloud_oidc.md)
64 changes: 44 additions & 20 deletions protocols/webdav/nextcloud.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
NextCloud & ownCloud
NextCloud, ownCloud & OpenCloud
====

:::::{tabs}
Expand All @@ -21,6 +21,16 @@ NextCloud & ownCloud

> [ownCloud](https://owncloud.org/features/) is the most straightforward way to file sync and share data. You don’t need to worry about where or how to access your files. With ownCloud, all your data is where ever you are; accessible on all devices, any time.

::::
::::{group-tab} OpenCloud

:::{image} _images/ownCloud_Drive_icon.png
:alt: OpenCloud Drive Icon
:height: 128px
:::

> [OpenCloud](https://opencloud.eu/en) is the Heinlein Group's file sharing & collaboration solution. Intelligent file management and a strong open source community turn files into valuable resources - effectively structured and usable in the long term.

::::
:::::

Expand All @@ -42,38 +52,44 @@ Select the connection profile `Nextcloud` for _Protocol_ bundled by default.

Select the connection profile `ownCloud` for _Protocol_ bundled by default.

**ownCloud Infinite Scale (oCIS)**

Connecting to *ownCloud Infinite Scale* the default authentication scheme is OpenID Connect. It requires the client registration in the identity provider in ownCloud via *Keycloak*. Additionally you need a custom [connection profile](https://github.com/iterate-ch/profiles/pull/83/files) to connect.
::::
::::{group-tab} OpenCloud

:::{note}
Basic Authentication is disabled by default. For additional information refer to the [ownCloud documentation](https://doc.owncloud.com/ocis/next/deployment/services/s-list/auth-basic.html).
:::
Connecting to *OpenCloud* the default authentication scheme is OpenID Connect. For deployments using the built-in identity provider, use the ready-made connection profile with the OAuth client registered by default.

**Import client configuration for Keycloak**
1. Open _Preferences… → Profiles_ in Cyberduck or Mountain Duck.
2. Enable the *OpenCloud (OpenID Connect)* connection profile.
3. Add a new [bookmark](../../cyberduck/bookmarks.md) and choose *OpenCloud (OpenID Connect)* in the protocol dropdown. Enter the hostname of your OpenCloud server in _Server_.
4. Connect to the bookmark and log in with your OpenCloud account in the web browser. Allow access for _OpenCloud Desktop Client_ when prompted.

To test without a custom deployment, use the public instance running at `ocis.ocis-keycloak.latest.owncloud.works` with the identity provider at `keycloak.ocis-keycloak.latest.owncloud.works` (username and password: `admin`).
:::{admonition} ownCloud Infinite Scale & OpenCloud with OpenID Connect Tutorial
:class: tip

The client configuration to match the provided connection profile can be imported from the [ownCloud Github repository](https://github.com/owncloud/ocis/blob/7af9cd9e53183acbaac2ffbc6414402bdef1f5d4/deployments/examples/ocis_keycloak/config/keycloak/clients/cyberduck.json) to allow OAuth authentications from [Cyberduck](https://cyberduck.io) & [Mountain Duck](https://mountainduck.io).
For deployments using Keycloak or Microsoft Entra ID as the identity provider, follow the [step-by-step instructions](../../tutorials/owncloud_opencloud_oidc.md) to write a custom connection profile.
:::

::::
::::{group-tab} WebDAV

Alternatively you can connect using `WebDAV (HTTPS)` with the default path set to `/remote.php/webdav/`.
::::{group-tab} ownCloud Infinite Scale (oCIS)

![Nextcloud Bookmark Window](_images/NextCloud_Bookmark_Window.png)
Connecting to *ownCloud Infinite Scale* the default authentication scheme is OpenID Connect. For deployments using the built-in identity provider, use the ready-made connection profile with the OAuth client registered by default.

::::
:::::
1. Open _Preferences… → Profiles_ in Cyberduck or Mountain Duck.
2. Enable the *ownCloud Infinite Scale (OpenID Connect)* connection profile.
3. Add a new [bookmark](../../cyberduck/bookmarks.md) and choose *ownCloud Infinite Scale (OpenID Connect)* in the protocol dropdown. Enter the hostname of your ownCloud Infinite Scale server in _Server_.
4. Connect to the bookmark and log in with your ownCloud account in the web browser. Allow access for _ownCloud desktop app_ when prompted.

:::{admonition} ownCloud Infinite Scale & OpenCloud with OpenID Connect Tutorial
:class: tip

:::{tip}
The default path `/remote.php/dav/files/<username>` will be used with no custom setting in _Path_ to access the WebDAV API.
For deployments using Keycloak or Microsoft Entra ID as the identity provider, follow the [step-by-step instructions](../../tutorials/owncloud_opencloud_oidc.md) to write a custom connection profile.
:::

:::{attention}
You are required to set a _Path_ only if your installation is accessible under a subdirectory such as `example.net/cloud/` this can be indicated by setting a default path of `directory/remote.php/webdav`. You can omit the value in _Path_ if your installation defaults to the root of your domain and is accessible at `example.net/remote.php/dav/files/<username>`.
:::{note}
Basic Authentication is disabled by default. For additional information refer to the [ownCloud documentation](https://doc.owncloud.com/ocis/next/deployment/services/s-list/auth-basic.html).
:::
::::

:::::

### Obtain WebDAV Address From Server

Expand All @@ -83,6 +99,14 @@ Connect to your Nextcloud or ownCloud server in your web browser and obtain the
Make sure to set in _Username_ the actual username instead of the email address.
:::

:::{tip}
The default path `/remote.php/dav/files/<username>` will be used with no custom setting in _Path_ to access the WebDAV API.
:::

:::{attention}
You are required to set a _Path_ only if your installation is accessible under a subdirectory such as `example.net/cloud/` this can be indicated by setting a default path of `directory/remote.php/webdav`. You can omit the value in _Path_ if your installation defaults to the root of your domain and is accessible at `example.net/remote.php/dav/files/<username>`.
:::

### 2-Factor Authentication

With 2-factor authentication enabled, you will need to create an app password instead of your regular login credentials. You should find it in *Personal → App passwords*.
Expand Down
4 changes: 4 additions & 0 deletions tutorials/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ s3_iam_role_mfa
s3_iam_getsessiontoken_bucketpolicy_mfa
s3_microsoft_entra_oidc
s3_google_oidc
owncloud_opencloud_oidc
iam
vault_localdisk
sftp_publickeyauth
Expand Down Expand Up @@ -43,6 +44,9 @@ Use Microsoft Entra ID to authenticate with S3 by configuring as an OpenID Conne
## [Authenticate with Google to connect to S3](s3_google_oidc.md)
Use Google to authenticate with S3 by configuring as an OpenID Connect (OIDC) Identity Provider in AWS IAM.

## [Connect to ownCloud Infinite Scale & OpenCloud with OpenID Connect](owncloud_opencloud_oidc.md)
Obtain the OAuth endpoints from the OpenID Connect discovery document of your ownCloud Infinite Scale or OpenCloud server and write a custom connection profile.

## [AWS Identity & Access Management (IAM)](iam.md)
IAM allows you to create credentials for third parties accessing your S3 account with permission constraints.

Expand Down
Loading
Loading