# 400 bad request when landing on authentication page

**URL:** <https://community.auth0.com/t/400-bad-request-when-landing-on-authentication-page/45594>\
**Category:** Get Help\
**Created:** [July 1, 2020, 9:31am UTC](https://community.auth0.com/t/400-bad-request-when-landing-on-authentication-page/45594 "2020-07-01T09:31:24Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![nicspanu](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nicspanu/32/22288_2.png) [@nicspanu](https://community.auth0.com/u/nicspanu)\
**Post date:** [July 1, 2020, 9:31am UTC](https://community.auth0.com/t/400-bad-request-when-landing-on-authentication-page/45594/1 "2020-07-01T09:31:24Z")

</div>

Hello there,

I get 400 bad request when clicking on the login button of my application which then does not redirect me to the auth0 page. I have attached screen-shots of my settings in auth0 and of my code and of the dev tools  
[Schermata 2020-06-30 alle 11.51.53|690x388](https://community.auth0.com/uploads/short-url/qCxTkahdtQ5Tg7aSdtjUi5gJLzW.png)

 ![Schermata 2020-06-30 alle 11.47.44](https://global.discourse-cdn.com/auth0/original/3X/9/9/990339ccfd98fcb1ef3128645b4c6ee1cf4978f6.png) !

[Schermata 2020-06-30 alle 11.51.53|690x388](https://community.auth0.com/uploads/short-url/qCxTkahdtQ5Tg7aSdtjUi5gJLzW.png)

 ![Schermata 2020-06-30 alle 11.47.44](https://global.discourse-cdn.com/auth0/original/3X/9/9/990339ccfd98fcb1ef3128645b4c6ee1cf4978f6.png) ![Schermata 2020-06-30 alle 11.33.06](https://global.discourse-cdn.com/auth0/original/3X/4/1/415d56fef392f519bf4509a3f5d8e96df377c37f.png) !

---

<div class="post-metadata">

**Author:** ![john.gateley](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/john.gateley/32/10879_2.png) [@john.gateley](https://community.auth0.com/u/john.gateley)\
**Post date:** [July 1, 2020, 7:01pm UTC](https://community.auth0.com/t/400-bad-request-when-landing-on-authentication-page/45594/2 "2020-07-01T19:01:34Z")

</div>

Hi @nicspanu,

What do the tenant logs show?

John

---

<div class="post-metadata">

**Author:** ![nicspanu](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nicspanu/32/22288_2.png) [@nicspanu](https://community.auth0.com/u/nicspanu)\
**Post date:** [July 4, 2020, 10:06am UTC](https://community.auth0.com/t/400-bad-request-when-landing-on-authentication-page/45594/3 "2020-07-04T10:06:37Z")

</div>

Hi, thanks for your reply, I solved the problem by simply adding “.eu” to my Auth0 ID in the configuration file of the front-end of my app (to be precise in the enviroment.ts file of the frontend, please see screen-shots attached in my previous post). The Auth0 server has then reacted correctly to the request from my client by answering it with a 400 bad request error.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [July 6, 2020, 6:44am UTC](https://community.auth0.com/t/400-bad-request-when-landing-on-authentication-page/45594/4 "2020-07-06T06:44:30Z")

</div>

Perfect! Glad you have figured it out and thanks for sharing with the rest of community!

---

<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:** [July 21, 2020, 6:44am UTC](https://community.auth0.com/t/400-bad-request-when-landing-on-authentication-page/45594/5 "2020-07-21T06:44:30Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
