Skip to content

Commit

Permalink
Merge pull request #31 from pdsinterop/fix/public-request
Browse files Browse the repository at this point in the history
Update pdsinterop/solid-auth to include "public" fix.
  • Loading branch information
Potherca authored Sep 28, 2022
2 parents 176fe0f + e24ae8a commit fc3abfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Utils/DPop.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public function __construct(JtiValidator $jtiValidator)
public function getWebId($request) {
$serverParams = $request->getServerParams();

if (isset($serverParams['HTTP_AUTHORIZATION']) === false) {
if (empty($serverParams['HTTP_AUTHORIZATION'])) {
$webId = "public";
} else {
$this->validateRequestHeaders($serverParams);
Expand Down

0 comments on commit fc3abfa

Please sign in to comment.