-
Notifications
You must be signed in to change notification settings - Fork 508
Closed
Description
Couple of manual steps are needed at the moment before being able to execute federation things locally.
- Enable federation on your instance
occ config:app:set spreed federation_enabled --value yes
- Allow federation with self-signed certificates and local remote servers
occ config:system:set sharing.federation.allowSelfSignedCertificates --value true --type bool
occ config:system:set allow_local_remote_servers --value true --type bool
- In case you do have a SSL cert set up on the instance you want to sent the federation invite to, make sure it's imported into your nextcloud and check it really worked (second command)
occ security:certificates:import /path/to/the/nextcloud.crt
occ security:certificates
Lists something like the following for me:
+-----------------+-------------+--------------+--------------+-------------------------------------+
| File Name | Common Name | Organization | Valid Until | Issued By |
+-----------------+-------------+--------------+--------------+-------------------------------------+
| nextcloud28.crt | nextcloud28 | Nickv | May 20, 2028 | Nickvergessen Certificate Authority |
+-----------------+-------------+--------------+--------------+-------------------------------------+
- Install the OCS viewer app https://github.com/nextcloud/ocs_api_viewer
- Navigate to the OCS > spreed > room > "Add a participant to a room"
- Fill in the auth (your current user name + password)
- Fill in the parameters: (see big screenshot below)
- apiVersion:
v4 - token: token of the conversation you want to invite to
- newParticipant:
USERID@SERVERIPor when you use a domain to access nextcloud use that, e.g.[email protected] - sources:
remotes - Confirm with
Send API Request
- apiVersion:
- 🎉 The invited user should now have a notification informing them about the invite

