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
{{ message }}
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
All the users on my homeserver are using our self-hosted Keycloak instance with OIDC. These users were initially created manually in synapse and then ported over to user_external_ids using the method described in #7633. As a result, their auth_provider field was set to oidc.
Ever since 1.27, the ability for multiple oidc providers was added and with it the auth_provider value has changed for most instances (in my case it is now oidc-keycloak). The values in the database, however, haven't changed, which leads to the problem where users will try to login over oidc and get assigned a new user instead of the old user they were expecting.
This is (relatively) easily solved by going into the database and running UPDATE user_external_ids SET auth_provider = 'oidc-keycloak', but this isn't mentioned anywhere in the upgrade notes (and it would probably be nicer if this happened automatically somehow)
Steps to reproduce
Have a homeserver with oidc users prior to 1.27
Update to 1.27 and modify config accordingly
Try logging in
Version information
Homeserver: private
Version: 1.28.0 (though logic dictates the issue started in 1.27.0)
Install method: apt
Platform: debian 10
The text was updated successfully, but these errors were encountered:
I have the same problem as #9514
I migrated to a new server, no upgrade, just latest version to latest.
Users1-2-3 began to be created
I changed the old value idp_id from
Description
All the users on my homeserver are using our self-hosted Keycloak instance with OIDC. These users were initially created manually in synapse and then ported over to
user_external_ids
using the method described in #7633. As a result, theirauth_provider
field was set tooidc
.Ever since 1.27, the ability for multiple oidc providers was added and with it the
auth_provider
value has changed for most instances (in my case it is nowoidc-keycloak
). The values in the database, however, haven't changed, which leads to the problem where users will try to login over oidc and get assigned a new user instead of the old user they were expecting.This is (relatively) easily solved by going into the database and running
UPDATE user_external_ids SET auth_provider = 'oidc-keycloak'
, but this isn't mentioned anywhere in the upgrade notes (and it would probably be nicer if this happened automatically somehow)Steps to reproduce
Version information
Version: 1.28.0 (though logic dictates the issue started in 1.27.0)
Install method: apt
The text was updated successfully, but these errors were encountered: