mirror of
https://github.com/antonioribeiro/google2fa.git
synced 2026-04-25 08:05:49 +03:00
[GH-ISSUE #199] QRCode URL shows 404 #557
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/google2fa#557
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mm-louis on GitHub (Apr 10, 2024).
Original GitHub issue: https://github.com/antonioribeiro/google2fa/issues/199
For some reason, URL is not working.
Here's the sample. https://chart.googleapis.com/chart?chs=200x200&chld=M|0&cht=qr&chl=otpauth%3A%2F%2Ftotp%2FKirlin%2520and%2520Sons%3Ajarod12%2540yahoo.com%3Fsecret%3DJBYGUTKKJA4XKWDEMRHTOQTZLBKGC4CNZCMKL7OLPPOV3FEQEUSYW4EQ7OSRPLHD%26issuer%3DKirlin%2520and%2520Sons
Also, I tried demo page, the QR code image can not be shown either.
@akyagmur commented on GitHub (Apr 15, 2024):
Unfortunately, this service has been deprecated.
@dragonofmercy commented on GitHub (Apr 16, 2024):
You can switch to this library and use his local QR Code generator
https://github.com/RobThree/TwoFactorAuth
@ankit-singh-vu commented on GitHub (Apr 16, 2024):
I am facing the same issue from almost 2 weeks. What is good alternative ? Bacon/QRCode?
@dragonofmercy commented on GitHub (Apr 16, 2024):
I use like this
for the secret use
Don't forget
composer require robthree/twofactorauth
composer require bacon/bacon-qr-code
@mfn commented on GitHub (Apr 16, 2024):
https://github.com/Bacon/BaconQrCode , it's supported (I use it with google2fa-laravel) and has a SVG backend -> basically no external dependencies and majority of browsers support it.
@ankit-singh-vu commented on GitHub (Apr 16, 2024):
instead of getQRCodeGoogleUrl() , i used getQRCodeInline() and it worked fine.
It required pragmarx/google2fa, pragmarx/google2fa-qrcode and bacon/bacon-qr-code packages.
@antonioribeiro commented on GitHub (Apr 16, 2024):
Yeah the Google service was scheduled to go down. It's actually better to have it inline anyways, like @ankit-singh-vu is doing. Both chillerlan/php-qrcode and Bacon works fine.
@mm-louis commented on GitHub (Apr 16, 2024):
Thanks everyone! I opted for image-charts.com instead of the Google one.