Open defacto64 opened 3 years ago
this was never fixed? i think this is because of 'margin=0'
if you change it to at least 'margin=1' it will work
hello,
your qr code is displaying a wrong otpauth URI.
When i scanned the QR with my cellphone camera this is the decoded text:
URI [scheme=otpauth, userInfo=null, host=totp, port=-1, path=/issuer:user, queryParams=[secret=65DX5JBEFRXCLMS46FO57H67EWEMX3FA, issuer=issuer, algorithm=SHA1, digits=6, period=30], fragment=null]
Hi, any QR codes generated by calling GoogleAuthenticatorQRGenerator.getOtpAuthURL(...) are not detected by Google Authentication app. Here is an example:
https://api.qrserver.com/v1/create-qr-code/?data=URI+%5Bscheme%3Dotpauth%2C+userInfo%3Dnull%2C+host%3Dtotp%2C+port%3D-1%2C+path%3D%2Fissuer%3Auser%2C+queryParams%3D%5Bsecret%3D65DX5JBEFRXCLMS46FO57H67EWEMX3FA%2C+issuer%3Dissuer%2C+algorithm%3DSHA1%2C+digits%3D6%2C+period%3D30%5D%2C+fragment%3Dnull%5D&size=200x200&ecc=M&margin=0
Not even my Camera app can read the above QR code...
Other QR codes, e.g. those generated by Google, are instead recognized.
How comes that? Please advise...