https://github.com/nextcloud/preferred_providers
Registration handling app for Nextcloud partners
https://github.com/nextcloud/preferred_providers
nextcloud preferred-providers website
Last synced: 5 months ago
JSON representation
Registration handling app for Nextcloud partners
- Host: GitHub
- URL: https://github.com/nextcloud/preferred_providers
- Owner: nextcloud
- License: agpl-3.0
- Created: 2018-08-30T12:07:59.000Z (almost 7 years ago)
- Default Branch: main
- Last Pushed: 2025-02-04T01:32:03.000Z (5 months ago)
- Last Synced: 2025-02-04T02:27:23.810Z (5 months ago)
- Topics: nextcloud, preferred-providers, website
- Language: JavaScript
- Homepage: https://apps.nextcloud.com/apps/preferred_providers
- Size: 958 KB
- Stars: 11
- Watchers: 5
- Forks: 5
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
# Preferred providers
This application allows external request of new accounts.

1. Install and enable the application.
2. Go to the preferred providers settings and keep your token in reach.
3. Make a POST request to `/ocs/v2.php/account/request/YOURTOKEN` with the `{email: '[email protected]'}` data.
``` js
$.post('/ocs/v2.php/account/request/56300a2bf7e06894a5b59c1eb47f7460', {email:'[email protected]'}).complete((response) => {
console.log(JSON.parse(response.responseText).data.setPassword)
})
```
4. The server will accept or not the request and provide a link for the user login and password definition https://cloud.yourdomain.com/apps/preferred_providers/password/set/[email protected]/aipTgstNeenUXe20BJTH8
5. Meanwhile a mail confirmation is sent to the user. He have 6h to confirm or his account will be disabled
6. After 4, if you set up the `OCS-APIREQUEST` header, you will be redirected to a `nc://` url with valid app-password token for your application. If not, you will be logged and redirected to the home page.