YunoHost-Apps / vaultwarden_ynh

Open source password management solutions for YunoHost
https://bitwarden.com/
GNU General Public License v3.0
59 stars 18 forks source link

Session expires immediately on login #3

Closed novadeviator closed 3 years ago

novadeviator commented 5 years ago

When I login with a confirmed and created user an interface flashes really quickly and I'm immediately logged out with an error by bitwarden - "Logged Out. Your login session has expired."

How can I debug this if this is a problem with js/css from yunohost?

I tried with safe-mode in FF and with completly fresh install of chromium-browser.

fflorent commented 3 years ago

The fix has landed with version 4.1.

Am I wrong if I say that, in order to workaround this issue, we should set auth_header to false for bitwarden in /etc/ssowat/conf.json until there is a proper fix or option brought by the bitwarden ynh app?

(This workaround is not very clean: after any package installation, it will be overridden, but maybe that's OK if a fix or option is introduced in bitwarden app quickly)

Florent

yalh76 commented 3 years ago

The fix has landed with version 4.1.

Am I wrong if I say that, in order to workaround this issue, we should set auth_header to false for bitwarden in /etc/ssowat/conf.json until there is a proper fix or option brought by the bitwarden ynh app?

(This workaround is not very clean: after any package installation, it will be overridden, but maybe that's OK if a fix or option is introduced in bitwarden app quickly)

Florent

I didn't have the time to deep dive into 4.1 and new permissions, but there would be a solution for the auth header issue causing the session expires immediately on login

inrepublica commented 3 years ago

Any news with this bug? I have the same on my yunohost instance.

Go-rom commented 3 years ago

@yalh76 @kay0u @alexAubin

thank you so much for this bugfix 👍