-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Verification code is not matched in Staging environment #40
Comments
@PirunSeng Is there any update? How did you fix it? |
This issue was posted more than 2 years back, but still it's opened. Same issue we are also facing. It will be beneficial if someone looks into it. |
Hey guys! Do you have a minimal reproducible rails app repo, that contains this error inside it? 🤝 It will be more assertive to help you with this situation |
In the meantime, we will close it. Any news about it, a reproducible repo or something like that, we reopen it and make some progress together 🤝 |
I've followed #46 Two Factor Authentication episode of DriftingRuby and I can get the TFA works well in my development environment. Unluckily, there is a strange behavior when I deploy my feature to Staging environment.
Here is my QRCode generator:
qr = RQRCode::QRCode.new(resource.provisioning_uri, level: :h)
The rest of the implementation are the same as described in the epicode.
A strange thing is that the QR code looks differently between development and staging environment. The problem is that I can scan the QR code in staging environment, but when I use that code to verify, it is always not matched.
Can somebody figure whether this is a bug of Active Model OTP or RQRCode gem?
I'm using:
The text was updated successfully, but these errors were encountered: