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
Hey all! I think there is an issue with the Fauna adapter when used with the Email provider but not sure if it is for next-auth or Fauna to have a look. When calling useVerificationToken the index params are being passed with this array [identifier, token] (source), however when the index is created through the Fauna Shell as explained in the docs it expects to receive the params the other way around. At least this is what happened to me and probably the author of this issue.
The query doesn't find a match and verificationToken is null which leads to the error.
I tried to write the Shell command like this hoping it would switch the order but it did't
Fauna could have a look and make their system respect the order terms are being passed or next-auth could maybe update the docs to point the issue out.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hey all! I think there is an issue with the Fauna adapter when used with the Email provider but not sure if it is for next-auth or Fauna to have a look. When calling
useVerificationToken
the index params are being passed with this array[identifier, token]
(source), however when the index is created through the Fauna Shell as explained in the docs it expects to receive the params the other way around. At least this is what happened to me and probably the author of this issue.The query doesn't find a match and
verificationToken
is null which leads to the error.I tried to write the Shell command like this hoping it would switch the order but it did't
Fauna could have a look and make their system respect the order terms are being passed or next-auth could maybe update the docs to point the issue out.
What do you think?
Beta Was this translation helpful? Give feedback.
All reactions