2FA Authentication QR Provider

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
kay.goldinger
Posts: 12
Joined: Mon Oct 29, 2018 11:52 am

2FA Authentication QR Provider

Post by kay.goldinger »

The 2FA Authentication in phpMyFAQ uses the default QR-Provider "QRServer" which loads the QR Codes form an external webserver. As my Webserver sits in a DMZ and doesn't have a direct internet connection, I get fatal errors (e.g. on the page "Persönlicher Bereich").
So I see two possible solutions: Configure RobThree's 2FA Library to use a local QR-Provider or tell PHP to use our enterprise webproxy to get the QR Codes.
I'd prefer the former method as I think (as Robv Three does) that it isn't very elegant to rely partly on external services for MFA.

So my questions: Is there an "easy" way to modify phpMyFAQ to use one of the local QR-Providers or at least a way to tell PHP to get external data through a webproxy?

Thanks and best Regards
Kay
Thorsten
Posts: 15620
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: 2FA Authentication QR Provider

Post by Thorsten »

Hi,

do you need 2FA at all if your server is in a DMZ?

I'll dig into the 2FA issue.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Thorsten
Posts: 15620
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: 2FA Authentication QR Provider

Post by Thorsten »

Hi,

in the upcoming release phpMyFAQ 4.0 we already switched to the local QR code provider.

We'll check how we can provide it for 3.2 as well.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply