# Google Two Factor Authentication

**URL:** <https://community.open-emr.org/t/google-two-factor-authentication/10765>\
**Category:** Management and Administration\
**Created:** [September 22, 2018, 8:48am UTC](https://community.open-emr.org/t/google-two-factor-authentication/10765 "2018-09-22T08:48:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![visolve](https://community.open-emr.org/user_avatar/community.open-emr.org/visolve/32/10972_2.png) [@visolve](https://community.open-emr.org/u/visolve)\
**Post date:** [September 22, 2018, 8:48am UTC](https://community.open-emr.org/t/google-two-factor-authentication/10765/1 "2018-09-22T08:48:41Z")

</div>

ViSolve has completed integrating Google Two Factor Authentication for OpenEMR with Google Authenticator.

This is easy to install even with an already deployed OpenEMR system!

If you want to play with it please send mail to [services@visolve.com](mailto:services@visolve.com)  
-ViSolve OpenEMR support team

---

<div class="post-metadata">

**Author:** ![Chrys\_Ostrander](https://community.open-emr.org/letter_avatar_proxy/v4/letter/c/f0a364/32.png) [@Chrys\_Ostrander](https://community.open-emr.org/u/Chrys_Ostrander)\
**Post date:** [October 1, 2019, 11:13pm UTC](https://community.open-emr.org/t/google-two-factor-authentication/10765/2 "2019-10-01T23:13:45Z")

</div>

Hello,

I’m trying to use OpenEMR 5.0.2 that I just finished installing. I can’t get past the login screen using the credentials I entered during setup. I tried the solution using the hash to enable ‘pass’ as the admin password, but it still will not let me in. I think it might be related to the two-factor authentication I did opt for during set up. The instructions said I should have my phone ready for the QR code, and I did. It said the QR code would be “next,” but no QR code ever appeared. It just went on its merry way and finished installing OpenEMR. I am thinking it wants something from me at login that I don’t have. Is there a way to disable two-factor authentication in the database?

---

<div class="post-metadata">

**Author:** ![brady.miller](https://community.open-emr.org/user_avatar/community.open-emr.org/brady.miller/32/10178_2.png) [@brady.miller](https://community.open-emr.org/u/brady.miller)\
**Post date:** [October 1, 2019, 11:42pm UTC](https://community.open-emr.org/t/google-two-factor-authentication/10765/3 "2019-10-01T23:42:22Z")

</div>

Hi @Chrys_Ostrander ,

Sounds like a bug in setup. So we can test it, what is your operating system?

To fix your issue, just remove the entry for your user (should be the only entry there) in the login\_mfa\_registrations sql table.

You can then set up mfa for the user within OpenEMR per these instructions:  
[Documentation for Multi-Factor Authentication?](https://community.open-emr.org/t/documentation-for-multi-factor-authentication/12623)

-brady

---

<div class="post-metadata">

**Author:** ![Chrys\_Ostrander](https://community.open-emr.org/letter_avatar_proxy/v4/letter/c/f0a364/32.png) [@Chrys\_Ostrander](https://community.open-emr.org/u/Chrys_Ostrander)\
**Post date:** [October 1, 2019, 11:55pm UTC](https://community.open-emr.org/t/google-two-factor-authentication/10765/4 "2019-10-01T23:55:24Z")

</div>

Thanks for the fast response. I’ll try that. System is:

HP 251-a123wb PC Pentium J2900 4GB RAM 1TB

Ubuntu Server 18.04.3

LAMP (clean install)
