How To Authenticate via SAML with Keycloak as Identity Provider
SAML configuration in Keycloak can be unintuitive for the beginner, so here is a guide to configure Keycloak as a SAML identity provider for Nextcloud.
This guide considers that you are starting with a Keycloak from scratch, but feel free to jump to the latest sections if you have a ready to use Keycloak instance and just need the Nextcloud app configuration and the Keycloak client creation.
Subscriber exclusive content
A Nextcloud Enterprise Subscription provides unlimited access to our knowledge base articles and direct access to Nextcloud engineers.