diff --git a/flexiapi/app/Http/Middleware/AuthenticateJWT.php b/flexiapi/app/Http/Middleware/AuthenticateJWT.php index ef4c393..4d1399d 100644 --- a/flexiapi/app/Http/Middleware/AuthenticateJWT.php +++ b/flexiapi/app/Http/Middleware/AuthenticateJWT.php @@ -120,7 +120,7 @@ class AuthenticateJWT $response = new Response(); $response->header( 'WWW-Authenticate', - 'Bearer error="' . $error .'", "'. $description . '"' + 'Bearer error="' . $error .'", error_description="'. $description . '"' ); $response->setStatusCode(401);