Problems with not linked accounts after upgrading from v3 to v4 #3916
Unanswered
chrishornmem
asked this question in
Help
Replies: 1 comment 9 replies
-
@balazsorban44 I think I found the problem - in v3 the database model for accounts table uses a field named "providerId" whereas in v4 it seems to have been renamed to"provider". That means there is a db migration to do when upgrading from v3 to v4? |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am experiencing the "OAuthAccountNotLinked" ("To confirm your identity, sign in with the same account you used originally."), error for my users after migrating from v3 to v4.
I am using GoogleProvider.
Seems like all users are affected (on local dev not production :) )
I actually don't know how recover from this error, I've tried deleting the sessions in the db but to no avail.
Do you know if this particular migration scenario has been tested? Any ideas what could be wrong?
I was using mongo database sessions in v3, like this:
and now in v4:
Beta Was this translation helpful? Give feedback.
All reactions