500 Error when implementing with Laravel Request Facade


I am trying to integrate Auth0 on a project that is built using Laravel 7. When submitting a post request and attempting to use the Request facade, I receive a 500 error without any of Laravel’s usual error messaging.

Has anyone else had similar issues or any ideas how to proceed?


I had a trait that was calling auth()->id(). Replaced that with a function that gets the Auth0 User and it is working now.

1 Like

Glad you have found it and thanks a lot for sharing it with the rest of community!

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