Closed PirunSeng closed 3 years ago
@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: