OIDC Plugin data migration
I have in my database the ids of the users from my previous authentication provider. I want to migrate these users to a my new better-auth backend so I can handle this data there. I've added a button where they can link the account and this is working perfectly.
However, I wonder if I can migrate the users from the old to the new app, just with the users ids. I saw that in the tables better-auth saves some tokens, but not the id directly. So I would like to know if there's a way to do this migration, without the users to manually connecting their accounts again. Thanks for the help.
However, I wonder if I can migrate the users from the old to the new app, just with the users ids. I saw that in the tables better-auth saves some tokens, but not the id directly. So I would like to know if there's a way to do this migration, without the users to manually connecting their accounts again. Thanks for the help.