Login 400 error

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”,
“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”: {},
}

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.

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

Thanks!
Dawid