Closed jonhue closed 6 years ago
TLDR: Check twice whether rails loads you AUTH_API_KEY ENV variable and whether you provide it to authy.
I had the same issue. The request to register the user in Authy was failing because I did not set my ENV variable AUTH_API_KEY correctly. However, this was not communicated to the UI, nor in the request itself.
I was using fish as shell, so I switched to setting the ENV variable in bash like this: export AUTHY_API_KEY=YOUR_AUTHY_API_KEY
. That helped.
Hey @jonhue, this was raised a long time ago and I don't know if it was resolved or not. I'm going to close the issue for now, but if you are still having trouble, please re-open and we can try to solve it.
I am using Rails 5.1.
Whenever I enable a user for 2fa by submitting the related form on the
enable_authy.html.haml
template, It just refreshes the page.Here are the logs:
I manipulated the route urls. Still, when using the default route configuration the same problem occurs.