You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by SoleroTG August 17, 2024 Description
As soon as I login in to nextcloud via an IdP instead of the internal nextcloud authentication stored email credentials to a mailbox vanish.
To Reproduce
Login to nextcloud via nextcloud internal authentication.
Store credentials at example.com/settings/user/additional
Logout, login via nextcloud authentication and open snappymail → works
Logout, login via IdP. → Snappymail asks for password.
Expected behavior
Snappymail remembers my credentials no matter how I log in.
Please complete the following information:
Browser: firefox 129
IMAP daemon: dovecot
PHP version: 8.2.2
SnappyMail Version: 2.37.3
Mode: nextcloud in docker
IdP: Authelia
In order to provide more logs I did the following:
Log in without IdP and store credentials under /settings/user/additional
Verify the credentials work by starting the SnappyMail-nextcloud-app → works
Log out of nextcloud and login with IdP
Start the SnappyMail-nextcloud-app
As before the login didn't work. I reproduced it with loglevel 4 and 7.
Hi, I can confirm as well that this problem still exists for OIDC-provioned users (using the oidc_login plugin).
I think the best way to go is to honor the credentials if set up in user settings and only try to use oauth2 when no credentials are saved.
I also deactivated "Attempt to automatically login with OIDC when active" in Snappymail Nextcloud settings, but it does not help.
Discussed in #1713
Originally posted by SoleroTG August 17, 2024
Description
As soon as I login in to nextcloud via an IdP instead of the internal nextcloud authentication stored email credentials to a mailbox vanish.
To Reproduce
example.com/settings/user/additional
Expected behavior
Snappymail remembers my credentials no matter how I log in.
Please complete the following information:
In order to provide more logs I did the following:
/settings/user/additional
As before the login didn't work. I reproduced it with loglevel 4 and 7.
In loglevel 4
Same log but in level 7:
I tried to dig into the code, but my limited PHP skills didn't help much.
The text was updated successfully, but these errors were encountered: