Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CR-4720]Addressing Google Authenticator deprecation-use fork repository #47

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lucaseasypay
Copy link

Since the Google Authenticator Laravel plugin relies on the deprecated chart.googleapis.com service, its usage is no longer recommended. So we integrating a forked repository from ChristianRiesen/otp, ensuring uninterrupted service and bolstering the security of accounts and also here are the changes.

Old QR Code Generation:

php

$url = 'https://chart.googleapis.com/chart?chs=' . $width . 'x'
             . $height . '&cht=qr&chld=M|0&chl=' . urlencode($otpauth);

New and Improved QR Code Generation:

php
return 'https://qrcode.tec-it.com/API/QRCode?size=small&data='. urlencode($otpauth);
This streamlined approach ensures that your authentication process remains seamless, efficient, and, most importantly, secure.

@lucaseasypay lucaseasypay changed the title [CR-4720][BackOffice] Addressing Google Authenticator deprecation-use fork repository [CR-4720]Addressing Google Authenticator deprecation-use fork repository Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant