11 months ago

API endpoint returning 401 errors after upgrading to Laravel 5.7

Posted 11 months ago by lmartins

Hi everyone,

I've been struggling to get around this problem that surfaced right after upgrading the framework to version 5.7.

I have this app in production, where part of the UI is driven by API requests. This has been working for more than a year, but since I've updated the framework the same requests now return {"error":"Unauthenticated."}.

I've checked the headers, and everything appears to be normal: https://cl.ly/69d469a314c5

Have anyone bumped into this problem too, how did you got around it?

Please sign in or create an account to participate in this conversation.