Can't log out of Grist

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

Describe your issue

I’m trying to log out of Grist to switch user or simply juste log out : it works and i get the “guest” Grist homepage. But when trying to log back by clicking in it automatically logs into the account it just logged out of, no questions asked, no password filled, nothing.
Tried different things but none that changed this behavior :

  • deleting the cookies
  • logging out of grist and yunohost portal and trying to log back in grist directly
  • logging out of grist and yunohost portal then logging in yunohost portal with a different account and accessing grist from there

Share relevant logs or error messages

no idea where to find relevant logs, the grist service logs show API Auth calls but always for the same user that gets logged back in with no question asked.

After some documentation dwelling, there might be an explanation : the current authentication method is sketchy when there are multiple team sites. I have several. But there are two problems :

  • there is no way to delete a team site : EDIT through the grist api i managed to delete team sites (they’re called orgs there) but no change to the logout behavior
  • i don’t know how to change the authentication method or even if it’s possible

Hello @Aristid,

Thanks for your report. It should be fixed in version 1.3.3~ynh3. Please let me know if this works or not.

Florent

Hi ! Thanks for you quick reply !

Unfortunately, as you stated on the github issue, it does not change the logging out problem.

Now logging out of grist effectively logs you out the sso and brings you back to its login page, but upon logging in the sso and accessing grist you are still logged in to the same account you tried to log out. Log log log that’s a lot of logs in a sentence.

It should be fixed in 1.4.0~ynh2 this time, could you try again?

Thanks in advance

1 Like