Logout url for packages?

What type of hardware are you using: Old laptop or computer
What YunoHost version are you running: 11
What app is this about: compteur_du_gase

Describe your issue

Hello,
I have an issue with the packaging of this app:

I don’t find how to logout from Yunohost SSO. The doc suggest to go to this URL:
https://domain.tld/yunohost/sso/?action=logout
but it does nothing for me.

Any idea?

Share relevant logs or error messages

This should be helpful nextcloud_ynh/scripts/install at 2414a029fddf01a5e5b2a53878d02f24441a90c3 · YunoHost-Apps/nextcloud_ynh · GitHub

Thanks for the pointer.

As far as I understand, when I go to
https://mymaindomain/yunohost/sso/?action=logout&r=aHR0cHM6Ly93d3cuZ29vZ2xlLmNvbS8=
it should logout me and redirect to google (aHR0… is the encoding of https://www.google.com/), isn’t it?

But it does nothing and redirect me to https://mymaindomain/yunohost/sso/

cf Detail a bit more how an app should SSO-logout by fflorent · Pull Request #2557 · YunoHost/doc · GitHub

@Aleks Thanks for the pointer. Where can I find doc / the source code of portalapi? I can’t find “logout” in the actionsmap.yml

Login and logout are special routes, the code for logout is here moulinette/moulinette/interfaces/api.py at dev · YunoHost/moulinette · GitHub