You can use these credentials to authenticate the following nodes with Nextcloud.
Create a Nextcloud account.
- Log in to your Nextcloud account.
- Click on the user icon in the top right.
- Select 'Settings' in the drop down menu.
- Click on 'Security' under Administration in the sidebar.
- Copy the 'OAuth Callback URL' provided in the Nextcloud OAuth2 API credentials in n8n and paste it in the Redirection URI field under the 'OAuth 2.0 clients' section in the Nextcloud page.
- Fill out any other information that is necessary and click on the 'Add' button.
- Click on the eye icon to reveal the Secret and use the 'Client Identifier' and the 'Secret' with your Nextcloud OAuth2 API credentials in n8n.
- Replace your domain in the samples for the Authorization URL and Access Token URL fields.
- Enter your Web DAV URL in the Web DAV URL field.
- Click on the circle button in the OAuth section to connect a Nextcloud account to n8n.
- Click the Save button to save your credentials.
Using Username and Password#
Use your Web DAV URL along with your Nextcloud username and password in the node credentials.