Hello Dataverse Users,
I have recently moved one of my Dataverse installations to a newer version of keycloak that is running on a different machine. It is almost exactly the same, with the same users and configuration for the client, although I believe the old version had a different realm name. However, whenever users try to login with their accounts, it prompts them to create a new account on Dataverse when the expected outcome should be just logging them into their existing accounts. Since the old users from the old auth provider still exist they cannot just use the same username and email to create this new account or log in. Is there a way to tell Dataverse that it should treat any logins from this new auth provider as logging into the already existing accounts? The new auth provider has the same id as the old provider in the list of auth providers, but I assume that since it is from a different issuer (new ip address/machine) that's what's causing the issue.
While it would be possible to have users create a new temporary user from this and then merge the old account into the new one using the API, I only want to do that as a last-ditch effort. Primarily there are issues with merging the old user into the new. For keeping data attached to a specific user it works fine, it's primarily aesthetic concerns. You can change the display name to match the old account, but the email, which would have to have a +1 attached to it to have it treated as a new email, is unable to be changed to my knowledge, so it would permanently have that +1 on it, which I feel like may cause issues in the future.
Thanks,
Carver Bray