Answer the question
In order to leave comments, you need to log in
Why does an error appear when scanning a QR code in google authenticator?
Locally developed according to this manual:
https://habr.com/ru/sandbox/70272/
When scanning a locally generated QR code, an error appears:
"Unable to recognize the key."
The time was set on the phone as on a local PC.
QR code example:
https://www.google.com/chart?chs=200x200&chld=M|0&cht=qr&chl=otpauth://totp/[email protected]&secret=PH3BHZ332LPJ3JGK
Answer the question
In order to leave comments, you need to log in
A little late, you probably already figured it out - but I will answer, suddenly someone needs it.
The format should be as indicated here , namely:
You just have the "secret" parameter separated from the "host" by "&" and should "?", here the rules are the same as in any URL :
The question mark is used as a separator, and is not part of the query string.[2][3]
Web frameworks may provide methods for parsing multiple parameters in the query string, separated by some delimiter. In the example URL , multiple query parameters are separated by the ampersand, "&":
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question