google / google-authenticator

Open source version of Google Authenticator (except the Android app)
Apache License 2.0
5.17k stars 966 forks source link

Invalid barcode on IOS iphone #721

Open Ilardar opened 3 years ago

Ilardar commented 3 years ago

Test QR:

https://www.google.com/chart?chs=200x200&chld=M|0&cht=qr&chl=otpauth://totp/PCBPC:maremkulov@vpndev.siteg.ru?secret=SQXENQOIOTTSN5VK6ZR6HAEMGY======&issuer=PCBPC

IMG_9091

Even when I try to add the secret key manually:

IMG_9092

At the same time in the android version everything works as it should. I think the problem is that the secret key has the characters: ======

ThomasHabets commented 3 years ago

What tool or website generated this QR code?

Yeah that trailing "=====" is odd.