n8n-docs/docs/integrations/builtin/credentials/nextcloud.md

1.9 KiB

title description contentType
Nextcloud credentials Documentation for Nextcloud credentials. Use these credentials to authenticate Nextcloud in n8n, a workflow automation platform. integration

Nextcloud credentials

You can use these credentials to authenticate the following nodes:

Prerequisites

Create a Nextcloud{:target=_blank .external-link} account.

Supported authentication methods

  • Basic auth
  • OAuth2

Refer to Nextcloud's API documentation{:target=_blank .external-link} for more information about the service.

Using basic auth

To configure this credential, you'll need:

  • Your Web DAV URL: Enter your Web DAV URL{:target=_blank .external-link}.
  • Your User name
  • Your Password

Using OAuth2

To configure this credential, you'll need:

  • An Authorization URL: Update the sample URL to use your domain.
  • An Access Token URL: Update the sample URL to use your domain.
  • A Client ID: Generated once you add an OAuth2 application in Administrator Security Settings.
  • A Client Secret: Generated once you add an OAuth2 application in Administrator Security Settings.
  • A Web DAV URL: Enter your Web DAV URL{:target=_blank .external-link}.

Refer to the Nextcloud OAuth2 Configuration documentation{:target=_blank .external-link} for more detailed instructions on adding an OAuth2 application. As you set up your application use these settings:

  • Copy the OAuth Callback URL from n8n and enter it as the Redirection URI in your OAuth2 application.