How To Authenticate via SAML with Keycloak as Identity Provider
In this article, we explain the step-by-step procedure to configure Keycloak as the SSO SAML-based Identity Provider for a Nextcloud instance.
Throughout the article, we are going to use the following variables values. These values must be adjusted to have the same configuration working in your infrastructure.
Keycloak Server URL
Nextcloud Server URL
Create a Realm
Create a Realm in Keycloak called nc-general-demo.localenv.com:
From , copy the field and keep it aside as you will need to paste it into the field in the SSO & SAML Authentication settings.
Embrace the text string between a -----BEGIN CERTIFICATE----- and -----END CERTIFICATE----- tokens.
Subscriber exclusive content
A Nextcloud Enterprise Subscription provides unlimited access to our knowledge base articles and direct access to Nextcloud engineers.
Customers and Partners
Log in for full accessLog in