I try to make an authenticatable endpoint using Auth0: Sep 13 '22 Comments: 1 Answers: 0 https://stackoverflow.com/questions/73703488/auth0-upon-laravel-5-8-unable-to-authenticatean-entpoint-auth0-login-auth0servi I try to authenticate an endpoint using the auth0 library on an existing laravel 5.8 application (I know I need a serious upgrade but ain't got time): $ composer require auth0/login $ php artisan vendor:publish --tag=auth0-config And I made the following route: Route::prefix('/test')->middleware(['auth0.authenticate'])->group(function(){ Route::get("/hello",function(){ return response()->json([ 'message' => 'Hello from But I'm stuck on this error: Argument 1 passed to Auth0\Login\Auth0Service::__construct() must be of the type array, null given, called in /var/www/html/api/vendor/auth0/login/src/Auth0/Login/LoginServiceProvider.php on line 68
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners