# Multi Factor Auth ... using Google Authenticator and auth0-guardian.js

**URL:** <https://community.auth0.com/t/multi-factor-auth-using-google-authenticator-and-auth0-guardian-js/9187>\
**Category:** Get Help\
**Tags:** multi-factor-auth, google-authenticator\
**Created:** [January 12, 2018, 6:54pm UTC](https://community.auth0.com/t/multi-factor-auth-using-google-authenticator-and-auth0-guardian-js/9187 "2018-01-12T18:54:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![info1](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@info1](https://community.auth0.com/u/info1)\
**Post date:** [January 12, 2018, 6:54pm UTC](https://community.auth0.com/t/multi-factor-auth-using-google-authenticator-and-auth0-guardian-js/9187/1 "2018-01-12T18:54:10Z")

</div>

Using auth0-guardian.js in my angular single page application works fine besides throwing an “no enroll methods” error. I activated Multi-Factor-Auth by navigation to the menu item in the dashboard, leaving Push and SMS unchecked switching to Google Authenticator enabling it. How could I enroll manually? Why is there an no enroll methods error?

I edited the login rule to

```
function (user, context, callback) {
  // Uncomment the following to skip MFA when impersonating a user
  // if (user.impersonated) { return callback(null, user, context); }

  var CLIENTS_WITH_MFA = '***'];
  // run only for the specified clients
  if (CLIENTS_WITH_MFA.indexOf(context.clientID) !== -1) {
    // request a second factor only from users that have app_metadata.use_mfa === true
    if (user.app_metadata && user.app_metadata.use_mfa){
      context.multifactor = {
        provider: 'google-authenticator',

        // optional
        issuer: 'pages', 

        // optional, defaults to true. Set to false to force Google Authenticator every time. 
        // See https://auth0.com/docs/multifactor-authentication/custom#change-the-frequency-of-authentication-requests for details
        allowRememberBrowser: false 
      };
    }
  }

  callback(null, user, context);
}

```

---

<div class="post-metadata">

**Author:** ![James.Morrison](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/james.morrison/32/13507_2.png) [@James.Morrison](https://community.auth0.com/u/James.Morrison)\
**Post date:** [December 14, 2018, 5:43pm UTC](https://community.auth0.com/t/multi-factor-auth-using-google-authenticator-and-auth0-guardian-js/9187/2 "2018-12-14T17:43:32Z")

</div>

As it has been more than a few months since this topic was opened, and there has been no reply or further information provided as to the existence of the issue, we are closing this topic. Please don’t hesitate to create a new topic if this issue is still present, we would be happy to work with you to help find a resolution.

---

<div class="post-metadata">

**Author:** ![James.Morrison](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/james.morrison/32/13507_2.png) [@James.Morrison](https://community.auth0.com/u/James.Morrison)\
**Post date:** [December 14, 2018, 5:43pm UTC](https://community.auth0.com/t/multi-factor-auth-using-google-authenticator-and-auth0-guardian-js/9187/3 "2018-12-14T17:43:36Z")

</div>


