I Migrated to V11
My domain changed, so I created new users and moved all their libraries. All users are V11 style (with @auth.lcoal ID and contact mail) already.
I configured SSO against zitadel with this config:
Wich works, but instead of logging in to the existing users, it creates a new one.
The problem is, it doesnt check if there is already a user with this contact mail. This seems to be a bug, since login with a user wich was existent before and a login via SSO is then no more possible and throws this error due to two accounts having the same contact mail:
MultipleObjectsReturned at /accounts/login/
get() returned more than one Profile -- it returned 2!
Exception Location: | /var/www/seafile-server-11.0.9/seahub/thirdpart/django/db/models/query.py, line 640, in get
'/var/www/seafile-server-11.0.9/seahub',
'/var/www/seafile-server-latest',
'/var/www/seafile-server-11.0.9/seahub/thirdpart/bin',
'/var/www/seafile-server-11.0.9/seafile/lib/python3/site-packages',
'/var/www/seafile-server-11.0.9/seafile/lib64/python3/site-packages',
'/var/www/seafile-server-11.0.9/seahub',
'/var/www/seafile-server-11.0.9/seahub/thirdpart',
'/var/www/seafile-server-11.0.9',
'/var/www/seafile-server-11.0.9/pro/python',
'/usr/lib/python311.zip',
'/usr/lib/python3.11',
'/usr/lib/python3.11/lib-dynload',
'/usr/local/lib/python3.11/dist-packages',
'/usr/local/lib/python3.11/dist-packages/SQLAlchemy-2.1.0b1.dev0-py3.11.egg',
'/usr/local/lib/python3.11/dist-packages/typing_extensions-4.12.1-py3.11.egg',
'/usr/lib/python3/dist-packages',
'/usr/lib/python3.11/dist-packages',
'/var/www/seafile-server-11.0.9/seahub/seahub/auth/../../../../conf',
'/var/www/seafile-server-11.0.9/seahub/seahub/api2/endpoints/../../../../../conf',
'/var/www/seafile-server-11.0.9/seahub/seahub/api2/endpoints/../../../../../conf',
'/var/www/seafile-server-11.0.9/seahub/seahub/oauth/../../../../conf'
I Migrated to V11 My domain changed, so I created new users and moved all their libraries. All users are V11 style (with @auth.lcoal ID and contact mail) already. I configured SSO against zitadel with this config:
Wich works, but instead of logging in to the existing users, it creates a new one. The problem is, it doesnt check if there is already a user with this contact mail. This seems to be a bug, since login with a user wich was existent before and a login via SSO is then no more possible and throws this error due to two accounts having the same contact mail: