Skip to content

Commit

Permalink
Merge pull request #184 from ConductionNL/development
Browse files Browse the repository at this point in the history
dev to main auth fix
  • Loading branch information
rjzondervan authored Jan 16, 2025
2 parents 6b337b8 + 977286b commit 895d5e9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/Controller/EndpointsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,6 @@ public function destroy(int $id): JSONResponse
public function handlePath(string $_path): JSONResponse
{
// @todo: move to a rule service
/*
try {
$token = $this->request->getHeader('Authorization');
$this->authorizationService->authorize(authorization: $token);
Expand All @@ -208,7 +207,7 @@ public function handlePath(string $_path): JSONResponse
statusCode: 401
);
}
*/


// Find matching endpoints for the given path and method
$matchingEndpoints = $this->endpointMapper->findByPathRegex(
Expand Down

0 comments on commit 895d5e9

Please sign in to comment.