Skip to main content
Nextcloud OAuth 2.0 clients belong to one Nextcloud server, so the client must be registered on the server you enter. StackOne must reach the server over HTTPS with a certificate from a public certificate authority.

Register an OAuth 2.0 client

An administrator of your Nextcloud server registers StackOne as an OAuth 2.0 client.

1

Open the OAuth 2.0 settings

Sign in to Nextcloud as an administrator, select your avatar, then Administration settings.

  • Under Administration, select Security.
  • Scroll to OAuth 2.0 clients.
2

Add the client

Enter a Name and a Redirection URI, then select Add.

  • Name: StackOne
  • Redirection URI: the Callback URL StackOne shows you.
3

Copy the client credentials

In the new row of the client list, copy the Client Identifier across to Client ID and the Secret across to Client Secret.

  • Newer Nextcloud versions show the secret only once.

Find your Nextcloud URL

The Nextcloud URL is the web address of the Nextcloud server where the OAuth 2.0 client was registered.

  • Copy the address from the browser address bar when you are signed in to Nextcloud, up to but not including /apps/, /index.php/ or /settings/. Keep a folder such as /nextcloud and a port such as :8443 if the address has one.
  • Format: https://{your-nextcloud-host}
  • Example: https://cloud.example.com
  • Then sign in to Nextcloud and select Grant access.
  • Actions act as the account that grants access. Administrator actions need an account in the admin group.
1

Connect

  • Click Connect.
  • If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider’s authorization flow.
  • Once authorization is successful, you will see a confirmation popup.
2

Use Actions

Connect an AI platform to the linked account’s actions. See AI Platforms.Other ways to call actions are listed in Protocols & SDKs.