Keycloak - Migration Nextcloud SSO

I think I might be getting somewhere. So the guide by @boospy mentiones:
univention-keycloak saml/sp create --metadata-url="https://nextcloud.domain/index.php/apps/user_saml/saml/metadata" --role-mapping-single-value

I removed my initial Client entry (which I created in the Keycloak GUI) and recreated it with this CLI line.

Then in the Keycloak GUI added:
Valid redirect URIs

In nextcloud:

The Public X.509 cert comes from Keycloak Realm Settings → Keys → RS256 → Certificate
This finally is working, although I have some other issues with authentication due to nextcloud misconfiguration at the installation :shushing_face:

1 Like