# Login with google authenticator gives 400 bad request

**URL:** <https://community.auth0.com/t/login-with-google-authenticator-gives-400-bad-request/6276>\
**Category:** Get Help\
**Tags:** error, google-authenticator, login, mfa\
**Created:** [April 19, 2017, 6:45pm UTC](https://community.auth0.com/t/login-with-google-authenticator-gives-400-bad-request/6276 "2017-04-19T18:45:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SteveJackson](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@SteveJackson](https://community.auth0.com/u/SteveJackson)\
**Post date:** [April 19, 2017, 6:45pm UTC](https://community.auth0.com/t/login-with-google-authenticator-gives-400-bad-request/6276/1 "2017-04-19T18:45:25Z")

</div>

I have an Angular2 app with a custom login UI. Using the auth0 js library I call the loginWithCredentials method passing in username and password.

If I disable google authenticator in the dashboard the login works just fine. If i enable it from the dashboard when I login to my app I am prompted for the code. When the code is entered I am redirected to a https://{mydomain}.eu.auth0.com/mf page showing a **tenant is required** error.

I had this working last week but something is now causing it to fail and I’m unsure if it’s something I have done in my client, my auth0 config or a change in the service.

The chrome developer tools report HTTP 400 (Bad Request) for the POST to the https://{mydomain}.eu.auth0.com/mf page.

---

<div class="post-metadata">

**Author:** ![SteveJackson](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@SteveJackson](https://community.auth0.com/u/SteveJackson)\
**Post date:** [April 20, 2017, 5:55pm UTC](https://community.auth0.com/t/login-with-google-authenticator-gives-400-bad-request/6276/2 "2017-04-20T17:55:32Z")

</div>

Confusingly this now works again today with no changes my end.

---

<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:53am UTC](https://community.auth0.com/t/login-with-google-authenticator-gives-400-bad-request/6276/3 "2018-03-02T05:53:21Z")

</div>


