Problem: Troubleshooting SAML with nextcloud

saml
sso
nextcloud

#1

Problem:

Troubleshooting SAML with nextcloud
Configuring nextcloud with saml, as described in our blog post:

If you have this error message:

Nextcloud%20message1
the user is not activated for using nextcloud with saml. You have to add the SP to the user.
UMC%20activate%20SP

An other kind of error you may face is this one:

Nextcloud%20message2

This can be all kind of error. The most common error is a certificate issue. For further info consult the logfile:

root@real-member:/var/lib/univention-appcenter/apps/nextcloud/data/nextcloud-data# less nextcloud.log
To get the right certificate for the nextcloud settings you can use the curl command on your server:
curl https://ucs-sso.schein.ig/simplesamlphp/saml2/idp/metadata.php
Please adjust the domain name to your domain.

Little stumbling blocks at the nextcloud settings

Nextcloud%20message3

Settings in the UMC should be like this.

If the nextcloud app is installed on an other server you need this fqdn for the identity provider here.
UMC%20for%20Nextcloud
UMC%20for%20Nextcloud2


closed #2