Setting up Nextcloud

Nextcloud uses the user_oidc extension in order to handle OIDC authentication.

You must first install this extension on your instance, then go to your Settings > OpenID Connect menu and fill in the following parameters.

Client ID
{{ service.config["client_id"] }}
Client secret
{{ service.config["client_secret"] }}
Discovery endpoint
 {{ url_for("sso.oidc_discovery", service_uuid=service.uuid, _external=True) }}
  
Scope
openid email profile

If you plan to migrate from user_saml and/or native backend, uncheck Use unique user id.

{% include "application_oidc.html" %}