public function onAuthenticationFailure(Request $request, AuthenticationException $exception) { return JsonResponse::create(['error' => 'Authentication Failed.'], 403); }