Register an OAuth 2.0 client
An administrator of your Nextcloud server registers StackOne as an OAuth 2.0 client.
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.
Add the client
Enter a Name and a Redirection URI, then select Add.
- Name:
StackOne - Redirection URI: the Callback URL StackOne shows you.
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/nextcloudand a port such as:8443if 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.
Link the Account
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.
Use Actions