diff --git a/fhem/FHEM/98_GoogleAuth.pm b/fhem/FHEM/98_GoogleAuth.pm index 210444679..17afff6ba 100644 --- a/fhem/FHEM/98_GoogleAuth.pm +++ b/fhem/FHEM/98_GoogleAuth.pm @@ -74,6 +74,8 @@ # # 2021-01-26 - changed: rework code to use own package # +# 2024-08-28 - changed: use new api url +# =cut package FHEM::GoogleAuth; ## no critic @@ -222,7 +224,8 @@ sub _ga_make_url { my $secret_base32 = getKeyValue("googleAuth$name"); return unless defined($secret_base32); my $url = "otpauth://totp/$label?secret=$secret_base32&issuer=FHEM"; - my $qr_url = "https://chart.googleapis.com/chart?cht=qr&chs=$qrsize"."&chl="; + #my $qr_url = "https://chart.googleapis.com/chart?cht=qr&chs=$qrsize"."&chl="; + my $qr_url = "https://quickchart.io/chart?cht=qr&chs=$qrsize"."&chl="; #msg=1319182 $qr_url .= uri_escape($url); return $qr_url; }