# Login 400 error

**URL:** <https://community.auth0.com/t/login-400-error/192568>\
**Category:** Get Help\
**Tags:** login-experience, new-universal-login-experience\
**Created:** [September 30, 2025, 5:16am UTC](https://community.auth0.com/t/login-400-error/192568 "2025-09-30T05:16:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![eugene3](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/eugene3/32/68273_2.png) [@eugene3](https://community.auth0.com/u/eugene3)\
**Post date:** [September 30, 2025, 5:16am UTC](https://community.auth0.com/t/login-400-error/192568/1 "2025-09-30T05:16:56Z")

</div>

Sometimes I get error page when login.

Logs monitoring: Warning During Login  
{  
“date”: “2025-09-30T01:42:15.127Z”,  
“type”: “w”,  
“description”: “A user has attempted to access a login page directly. This is not supported unless a “Application Login URI” is set for your application, or a “Tenant Login URI” is set for your tenant. For more information, see: [https://auth0.com/docs/universal-login/default-login-url”](https://auth0.com/docs/universal-login/default-login-url%E2%80%9D),  
“connection\_id”: “”,  
“user\_agent”: “Chrome 140.0.0 / Windows 10.0.0”,  
“details”: {  
“session\_id”: “-QopAXlVD\_O2yKslsYHG2Zuid1o8Q3t2”  
},  
“tracking\_id”: “cad6f02981fa7c16edf8”,  
“user\_id”: “”,  
“user\_name”: “”,  
“$event\_schema”: {  
“version”: “1.0.0”  
},  
“environment\_name”: “prod-jp-1”,  
“tenant\_name”: “production-mprt”,  
“isMobile”: false,  
“location\_info”: {},  
}

 ![스크린샷 2025-09-30 오전 10.49.03](https://global.discourse-cdn.com/auth0/original/3X/8/1/816922eeb87c526f2b32d7a0dc09b52eb09fc88c.png)

I think this problem occurs because client id is N/A, but I don’t know why.

I set the idle timeout to 2 hours in the Next.js client, and configured it so that the user is automatically logged out after 2 hours.  
The access token lifetime is set to 1 hour, but since the client uses `getAccessTokenSilently()` to fetch tokens, I don’t think this should be a problem.  
I’ve also configured the logout URL per application, but sometimes after the automatic logout, when trying to log in again, the following error page appears and I don’t understand why.

---

<div class="post-metadata">

**Author:** ![dawid.matuszczyk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dawid.matuszczyk/32/74550_2.png) [@dawid.matuszczyk](https://community.auth0.com/u/dawid.matuszczyk)\
**Post date:** [September 30, 2025, 4:35pm UTC](https://community.auth0.com/t/login-400-error/192568/3 "2025-09-30T16:35:43Z")

</div>

Hi @eugene3

Welcome to the Auth0 Community!

Thank you for posting your question. It’s challenging to pinpoint the exact reason for this issue, but the solution would be to add the Application/Tenant Login URI in the Auth0 Dashboard. You can read about that here → [https://auth0.com/docs/authenticate/login/auth0-universal-login/configure-default-login-routes](https://auth0.com/docs/authenticate/login/auth0-universal-login/configure-default-login-routes)

Thanks!  
Dawid

---

<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:** [October 14, 2025, 4:36pm UTC](https://community.auth0.com/t/login-400-error/192568/4 "2025-10-14T16:36:24Z")

</div>

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