First login after account link fails when using Account Link extension with React

When the primary account is passwordless and the secondary account is a google social connection:

  • Redirected to our home page, and the url shows as: localhost:3000/error=access_denied&error_description=no%20email%20or%20no%20verification_code%20provided&state=Wnp6SVZzWGZILlZtQWRpNVRVLk85Ml9jU3FTM2NINjZ3akRYMTR4M1hUZA%3D%3D

When the primary account is a google social connection and the secondary account is passwordless:
We get the following error:

All future login attempts work as expected, it’s just the first one when linking accounts that leads to these issues.