I tried using restifyjs, but the restify.api.restifyjs.setup route is only accessible if authenticated. It shouldn't be like that. After I did some checking. I am using auth:sanctum as middleware. It looks like the problem is there. Because there is no 'auth:sanctum' in withoutMiddleware.
src/Bootstrap/RoutesDefinition.php
public function once(): void
{
...............
// RestifyJS
Route::get('/restifyjs/setup', RestifyJsSetupController::class)->withoutMiddleware(
RestifySanctumAuthenticate::class,
)->name('restifyjs.setup');
}
I tried using restifyjs, but the restify.api.restifyjs.setup route is only accessible if authenticated. It shouldn't be like that. After I did some checking. I am using auth:sanctum as middleware. It looks like the problem is there. Because there is no 'auth:sanctum' in withoutMiddleware.
src/Bootstrap/RoutesDefinition.php