First time creating an auth0 web app and I have an "Invalid_request" error

This is the error that I have:

invalid_request: You may have pressed the back button, refreshed during login, opened too many login dialogs, or there is some issue with cookies, since we couldn't find your session. Try logging in again from the application and if the problem persists please contact the administrator.

I’m justing following this tutorial to create the app with Hasura:

and then I test the app using the url:

and I get the error…

How can I solve it? Or is a temporal error from auth0?

Hi @MontoyaAndres,

Take a look at logs in your Auth0 dashboard. Let us know what they say (omitting sensitive data of course).


Hey @dan.woda the url to test the auth0 access, I got it from here: and this is the url where I want to log in this sends me to the login page with an error, which is:

  "date": "2020-01-18T04:10:12.118Z",
  "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:",
  "connection_id": "",
  "ip": "",
  "user_agent": "Chrome 79.0.3945 / Linux 0.0.0",
  "hostname": "",
  "tracking_id": "b3f404b885a486623fe2",
  "user_id": "",
  "user_name": "",
  "log_id": "90020200118041015760008413190248087431105153689110708338",
  "_id": "90020200118041015760008413190248087431105153689110708338",
  "isMobile": false

Why is that? In the hasura link that I named works perfectly…

Thanks for posting the log.

This error is describing a situation where you are trying to login directly through the auth0 URL and not a login coming from your application. You will either need to login through your application or setup the default login route described here:

Hope this helps!


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