Closed somayaji1983 closed 5 years ago
You've obfuscated the URL, but part of the QR code is visible in the background. I hope this is not too secret as there may be enough data in the screenshot to get the data back.
I think the problem is that algorithm
is not set to one of SHA1|SHA256|SHA512|MD5
. Could you try changing in to SHA1
?
Other than that, have you tried not having the colon in the username? What about leaving out some of the parameters?
BTW the URL scheme is documented here
Hi @ThomasHabets. Firstly thanks for your reply. As explained above, the same QR code is working fine with Google Authenticator in Android OS but throwing error in iOS. The algorithm used is " HmacSha1 " , is that could be the reason why it is now working in iOS ? Request your opinion on this
Nonetheless, it's not a supported algorithm string by spec (link above) or code.
I don't know why it's supported by the android app. Could it be that the android app is not even reading that parameter?
The query got resolved after modifying algorithm to SHA1.
hi., I have one query.. i already using sha1 algorithm ..Nonetheless i have same issue in ios device .. it shows invalid barcode.. now what was the problem of this?..pls rply me
@Julie4ganesh: How was your QR code generated?
Same issue https://freeipa-users.redhat.narkive.com/gZ5SkTsN/otp-google-authenticator-iphone-invalid-barcode 5 years past and you dont even get this shit done?
Dear Team, We are trying to add TOTP profile into Google authenticator APP by scanning QR.
In iOS, Google Authenticator APP failed to attache TOTP profile after scan the QR Code. It returned an error " Invalid barcode "
In android, Google Authenticator APP successfully attached TOTP profile after scan the QR Code
Looking forward for resolution.