Browser Header Field Exceeds Limit

I’m upgrading from an old PHP API (5.3) to the latest (8.4) and using the PHP quickstart to help me.

But I’m getting the following response:

Bad Request
Your browser sent a request that this server could not understand.
Size of a request header field exceeds server limit.

after making this call:

header("Location: " . $auth0->login(ROUTE_URL_CALLBACK));

It seems that there are a lot of cookies being set:
Screenshot 2023-02-27 113017

Is this the usual behaviour or have I done something wrong?

Hey there!

In order to handle this most effectively can I ask you to raise it as a GitHub issue in our PHP repo so we can work on that directly with the repo maintainers?

Once you have a link to it you can share it here with us so we can ping them. Thank you!

Hi Konrad.

Thanks for the quick response, I’ve raised the issue here: Browser Header Field Exceeds Limit · Issue #706 · auth0/auth0-PHP · GitHub.

Thanks

1 Like

Perfect! Thank you, I’ll ping repo maintainers in a few minutes!

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