Use Nextcloud as an identity provider for external services using the SCIM standard.
With this app, you can sync Nextcloud users and groups to any number of SCIM servers (specified in the administration settings). Once an SCIM server is registered, the app will contonuously sync all Nextcloud users and groups to that server. Any changes in user or group information (e.g. new or deleted users and groups, changes in personal information) will be pushed to all registered servers automatically.
Install the app from the App Store,
then head to Identity Management under the administration settings.
Click on + Register and fill in the server details in the form provided.
Alternatively, you can use the occ
command:
./occ scim_client:server:register <name> <url> <api_key>
Once submitted and the server details have been validated, that's it! The app will automatically start performing a full sync for that server in the background, as well as push any future changes to user/group information to that server.
Clicking on Sync next to the desired server
also sends a background job request to Nextcloud
requesting to sync all Nextcloud users and groups to that server.
To initiate the sync immediately
without waiting for the background (cron) job to start,
use the occ
command:
./occ scim_client:server:sync <name>
To list all registered servers:
./occ scim_client:server:list
To update one or more attributes for a registered server, click on Edit next to the desired server or:
./occ scim_client:server:update [--name NAME] [--url URL] [--api-key API-KEY] [--] <name>
To unregister an SCIM server, click on Delete next to the desired server or:
./occ scim_client:server:unregister <name>
To build the app from source,
clone the repository into your Nextcloud apps
directory and run:
npm ci && npm run dev
From there, you can enable the app from the Apps > Your apps page
or by using the occ
command:
./occ app:enable --force scim_client