How to integrate Owncloud with Keycloak

I have installed the Owncloud using the docker, and also the keycloak with docker. How to integrate Owncloud with Keycloak.

Please help with this.

Recommend to use OIDC. ownCloud side configuration is in the documentation …

I have given this value in my config.php file but not working
‘openid-connect’ => [
‘provider-url’ => ‘http://127.0.0.1:8080/auth’,
‘client-id’ => ‘’,
‘client-secret’ => ‘’,
‘loginButtonName’ => ‘button’,
‘autoRedirectOnLoginPage’ => false,
// change this to ‘email’ if necessary (see identity provider configuration)
‘mode’ => ‘userid’,
// change this to suit your environment (see identity provider configuration)
‘search-attribute’ => ‘preferred_username’
],

client-id => It produced by keycloak
client-secret => produced by keycloak

and my config.php file looks like below
$CONFIG = array (
‘instanceid’ => ‘oc0n3tensvgq’,
‘passwordsalt’ => ‘CHSDtr5nuq/3rfIv8zJRl/3AVDf5zq’,
‘secret’ => ‘yJw5DlByAKe70MWhbcNK2pwYnbLrvb3cdyqU1p/2HDHoFgm9’,
‘trusted_domains’ =>
array (
0 => ‘0.0.0.0:8180’,
),
‘datadirectory’ => ‘/var/www/html/data’,
‘overwrite.cli.url’ => ‘http://0.0.0.0:8180’,
‘dbtype’ => ‘mysql’,
‘version’ => ‘10.0.10.4’,
‘dbname’ => ‘example’,
‘dbhost’ => ‘mysql’,
‘dbtableprefix’ => ‘oc_’,
‘dbuser’ => ‘oc_admin’,
‘dbpassword’ => ‘45XZj6YzKv8ofwxA8oQjabho3psCuK’,
‘logtimezone’ => ‘UTC’,
‘installed’ => true,
‘openid-connect’ => [
‘provider-url’ => ‘http://127.0.0.1:8080/auth’,
‘client-id’ => ‘owncloud’,
‘client-secret’ => ‘b9da7571-5242-4ea4-b54e-a7bdd19b93fa’,
‘loginButtonName’ => ‘Kopano’,
‘autoRedirectOnLoginPage’ => false,
// change this to ‘email’ if necessary (see identity provider configuration)
‘mode’ => ‘userid’,
// change this to suit your environment (see identity provider configuration)
‘search-attribute’ => ‘preferred_username’
],
);