Missing required parameter: response_type

Hello to all.

“auth0”: “^2.36.1”,
@auth0/nextjs-auth0”: “1.0.0-beta.1”,

"description": “Missing required parameter: response_type”

  "body": {},
  "qs": {},
  "error": {
    "message": "Missing required parameter: response_type",
    "oauthError": "invalid_request",
    "type": "request-error"

The error does not occur for all users (some users log in successfully).

Perhaps anyone have any idea why such errors might occur?

Hi @olkr,

Welcome to the Auth0 Community!

I understand that your end-users have errors logging in, specifically with the “Missing required parameter: response_type” error.

This error is indicating that the authorize request URL does not have the response_type parameter, which is required.

For example:


In this case, you will need to make sure that authorize request includes the response_type parameter. After doing so, your users will be able to log in without issues.

Please let me know how it goes for you.

Thank you.

For most users, the error does not occur - authorize request URL have the response_type parameter, and all the necessary other parameters for successful authorization.
This error only happens for a part of users.
Both groups of users use the same application, with the same settings.

Could there be some reason why the response_type parameter is being excluded from the request URL?

Upgrading from “@ auth0 / nextjs-auth0”: “1.0.0-beta.1” to “@ auth0 / nextjs-auth0”: “1.6.2” might help?