# How to enroll Google Authenticator by using Resource Owner Password Endpoint

**URL:** <https://community.auth0.com/t/how-to-enroll-google-authenticator-by-using-resource-owner-password-endpoint/8241>\
**Category:** Get Help\
**Tags:** enrollment, resource-owner-passw, google-authenticator\
**Created:** [September 19, 2017, 11:34am UTC](https://community.auth0.com/t/how-to-enroll-google-authenticator-by-using-resource-owner-password-endpoint/8241 "2017-09-19T11:34:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ha.nguyendinh04](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ha.nguyendinh04/32/3527_2.png) [@ha.nguyendinh04](https://community.auth0.com/u/ha.nguyendinh04)\
**Post date:** [September 19, 2017, 11:34am UTC](https://community.auth0.com/t/how-to-enroll-google-authenticator-by-using-resource-owner-password-endpoint/8241/1 "2017-09-19T11:34:14Z")

</div>

Hi, I’m using **Resource Owner Password Endpoint** (/oauth/token) to log the user in my SPA. I also enabled MFA Google Authenticator.

When a user enters their credentials into my login form, the token endpoint response an error that **MFA is required.** So in this document [Authentication API - Auth0 Docs](https://auth0.com/docs/api/authentication?javascript#resource-owner-password-and-mfa), I need to send a request to verify OTP code of user from Google Authenticator App.

But the problem is those users is not enrolled to use Google Authenticator before.  
**How can I get QR Code and show it to allow users enroll**?

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 2, 2018, 5:56am UTC](https://community.auth0.com/t/how-to-enroll-google-authenticator-by-using-resource-owner-password-endpoint/8241/2 "2018-03-02T05:56:35Z")

</div>


