Fails to log in to Heroku during Heroku-app migration

I’m trying to migrate my Heroku app at this link: Heroku · Launch on Fly.io

When I click the button “Sign In To Heroku” and I successfully log in to Heroku (or if I’m already logged in) I’m redirected to the fly.io dashboard with the error-popup message “Something went wrong”