Redirect after logging out of Nextcloud

What type of hardware are you using: VPS bought online
What YunoHost version are you running: 12.0.12
What app is this about: Nextcloud

Describe your issue

It used to be at least before Yunohost 12 that putting

'https://main_domain.tld/yunohost/sso/?action=logout',

into
/var/www/nextcloud/config/config.php, where “main_domain.tld” is your yunohost domain,

caused that after logging out of Nextcloud, one would be also logged out of yunohost.

As per Logging out of yunohost by going to MYDOMIAIN.TLD/yunohost/sso/?action=logout does not work anymore? - #2 by tituspijean

the redirect should probably be to

'logout_url' => 'https://main_domain.tld/yunohost/portalapi/logout'

However, this does not seem to work. Any idea why? It seems to me this setting is Yunohost specific, it is not mentioned here: Configuration Parameters — Nextcloud latest Administration Manual latest documentation and when I search for it online, I only get it with connection with Yunohost.

Share relevant logs or error messages

My last log in involves an e-mail address and there does tno seem to be anything rleant to this, ti does not create any logs.

Describe what happens. :slight_smile:

Well, I am not logged out and I am not redirected to the logout url.