Registration handling app for Nextcloud partners
Перейти к файлу
Nextcloud bot 6d17ecee41
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-04 01:30:24 +00:00
.github Chore(deps): Bump actions/setup-node from 4.0.4 to 4.1.0 2024-10-24 18:02:41 +00:00
.tx [tx-robot] Update transifex configuration 2022-10-01 02:51:02 +00:00
appinfo chore: fix current version `1.16.0-dev.0` 2024-08-14 14:16:21 +02:00
css Update apps design and 25 compatibility 2022-12-21 12:32:41 +01:00
img Update apps design and 25 compatibility 2022-12-21 12:32:41 +01:00
js fix: app boot and user script 2023-06-14 12:11:13 +02:00
l10n Fix(l10n): Update translations from Transifex 2024-11-04 01:30:24 +00:00
lib fix: set form-action CSP for clients allowing `nc://` urls on Safari 2024-04-03 18:04:03 +02:00
templates fix: Cleanup and modernize php code 2023-06-14 15:05:25 +02:00
tests feat: Add psalm scripts and CI workflow 2023-06-14 15:08:45 +02:00
.gitignore php-cs fix 2022-04-07 14:47:44 +02:00
.php-cs-fixer.dist.php Composer init 2022-04-07 13:04:04 +02:00
COPYING Preferred providers init 2018-03-29 16:46:59 +02:00
Makefile Fix makefile 2022-04-07 14:57:16 +02:00
README.md Update README.md 2018-09-06 11:08:39 +02:00
composer.json feat: Add psalm scripts and CI workflow 2023-06-14 15:08:45 +02:00
composer.lock Chore(deps-dev): Bump psalm/phar from 5.25.0 to 5.26.1 2024-09-14 01:16:41 +00:00
psalm.xml feat: Add psalm scripts and CI workflow 2023-06-14 15:08:45 +02:00

README.md

Preferred providers

This application allows external request of new accounts.

screen

  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: 'myawesomemail@nextcloud.com'} data.
    $.post('/ocs/v2.php/account/request/56300a2bf7e06894a5b59c1eb47f7460', {email:'myawesomemail@nextcloud.com'}).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/yourawesomemail@nextcloud.com/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.