Hey i am trying to add some lines into config.php to make the oidc-login to work .
So this is how config.php looks like
<?php
$CONFIG = array (
'apps_paths' =>
array (
0 =>
array (
'path' => '/snap/nextcloud/current/htdocs/apps',
'url' => '/apps',
'writable' => false,
),
1 =>
array (
'path' => '/var/snap/nextcloud/current/nextcloud/extra-apps',
'url' => '/extra-apps',
'writable' => true,
),
),
'supportedDatabases' =>
array (
0 => 'mysql',
),
'memcache.locking' => '\\OC\\Memcache\\Redis',
'memcache.local' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => '/tmp/sockets/redis.sock',
'port' => 0,
),
'log_type' => 'file',
'logfile' => '/var/snap/nextcloud/current/logs/nextcloud.log',
'logfilemode' => 416,
'instanceid' => 'oc0m27jqwwwa',
'passwordsalt' => 'X1tJmvhCmKCKXtYo0W0JloQ9FL6zN2',
'secret' => 'nw/Omt+X/ntMJvXfUubd7m2v36ZyhLbwktyPC3P4MUJUODTe',
'trusted_domains' =>
array (
0 => 'localhost',
),
'datadirectory' => '/var/snap/nextcloud/common/nextcloud/data',
'dbtype' => 'mysql',
'version' => '20.0.7.1',
'overwrite.cli.url' => 'http://localhost',
'dbname' => 'nextcloud',
'dbhost' => 'localhost:/tmp/sockets/mysql.sock',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'nextcloud',
'dbpassword' => 'Z0kL1SEdZ98YxWs9Jg9wOAmCVftHrruSM4xUzGyRChtiLgQB6OFTp9PX9T4_tGVo',
'installed' => true,
);
I would like to add this
'oidc_login_client_id' => 'nextcloud',
'oidc_login_client_secret' => 'd924a0af-cc91-4c1c-a82f-6ccfe5e5e986',
'oidc_login_provider_url' => 'http://localhost:8080/auth/realms/test',
'oidc_login_logout_url' => 'https://openid.example.com/thankyou',
'oidc_login_auto_redirect' => true,
'oidc_login_redir_fallback' => true,
'oidc_login_attributes' => array(
'id' => 'preferred_username',
'mail' => 'email',
There is no documentation how to add it and i keep breaking the site without any success
Any help is appreciated it.