Nextcloud SCIM Service Provider
.insomnia | ||
appinfo | ||
img | ||
lib | ||
screenshots | ||
.gitignore | ||
.php-cs-fixer.cache | ||
.php-cs-fixer.dist.php | ||
composer.json | ||
composer.lock | ||
COPYING | ||
psalm.xml | ||
README.md |
SCIM Service Provider
This app allows to provision users and groups in Nextcloud from a scim client.
You can see the video that shows how it works.
Limitations
- doesn't accept
application/scim+json
content-type, but onlyapplication/json
- doesn't implement
meta:createdAt
normeta:lastModified
due to this bug (return unix epoch instead).
How to use
We plan to publish on the Nextcloud app store, but in the mean time, you can use instructions at the bottom.
Use with Keycloak
You can use with the SCIM plugin we developped for keycloak.
Running tests
To run the test, you can use insomnia UI.
For CI, there is still a bug we need to find a fix.
Todo
- Meta (Create our own table)
- createdAt
- lastModified
- ExternalID for Groups (Create our onw table)
- json exceptions
- group member removal
- pagination
- CI/CD
- Lint cs:check
- test psalm
- test insomnia
- publish app on app store
- lib user scim php
- accept first email, even if not primary
Quick "Deploy" to test
cd apps
wget https://lab.libreho.st/libre.sh/scim/nextcloud-scim/-/archive/main/nextcloud-scim-main.zip
unzip nextcloud-scim-main.zip
rm nextcloud-scim-main.zip
rm -rf scimserviceprovider
mv nextcloud-scim-main scimserviceprovider
NextGov Hackathon
This app was started during the Nextgov hackathon!