- This app is used to integrate Astian account creation with welcome
- Options to be configured in your
config.php
:
'a_welcome_secret' => 'secret', // Secret to authenticate request to the welcome server
'a_welcome_domain' => 'welcome. astian.global', // Domain of welcome server
'astian-accounts' => [
'secret' => 'astian-accounts-secret', // Secret for incoming requests to authenticate against
]
- This plugin creates an endpoint
/apps/astian-accounts/api/set_account_data
that is to be used to set user's email, quota,recovery email and create the user's folder if necessary
- Simple image based captcha is the default for human verification
- To change the value, set
astian-accounts.captcha_provider
- Allowed values are
image
(default) andhcaptcha
(https://hcaptcha.com)
- Allowed values are
- For hcaptcha provider to work, set the following values correctly:
astian-accounts.hcaptcha_site_key
astian-accounts.hcaptcha_secret
- The drop account functionality plugin works in conjunction with the drop_account plugin : https://apps.nextcloud.com/apps/drop_account
- The app listens for user deletion event to handle proper deletion of user account in /e/ ecosystem
- This plugin calls the postDelete.php script in the /e/ docker-welcome container
- The a_welcome_secret is loaded in nextcloud's config file during astian-selfhosting installation.
This plugin works in cunjunction with the drop_account plugin : https://apps.nextcloud.com/apps/drop_account
This plugin uses SRDI's Simple and lightweight curl class, under the The Unlicense license : https://github.com/srdi/php-curl-class/blob/master/LICENSE
- The app is using system values which are configured in
/config/config.php
. - Below keys to add:
- beta_group_name
- beta_gitlab_email_id
The values are:
'beta_group_name' => 'beta',
'beta_gitlab_email_id' => '[email protected]',
- Configure the following parameters in
config.php
for welcome emails via Sendgrid: - sendgrid_api_key
- sendgrid_template_ids
The values should be set as follows:
...
'sendgrid_api_key' => 'SENDGRID_API_KEY',
'welcome_sendgrid_template_ids' => [ 'en' => 'EN_TEMPLATE_ID', 'es' => 'ES_TEMPLATE_ID', ... ]
...
- Enable admin service client in Keycloak
- Configure the following parameters in
config.php
:oidc_admin_client_id
(client ID of the admin service client)oidc_admin_client_secret
(client secret of the admin service client)oidc_admin_username
(username of admin account)oidc_admin_password
(password of admin account)oidc_login_provider_url
(provider URL: see also https://github.com/pulsejet/nextcloud-oidc-login)oidc_admin_sync_2fa
-> (set to boolean value true to enable sync; defaults to false)