Skip to content

Commit fc3abfa

Browse files
authored
Merge pull request #31 from pdsinterop/fix/public-request
Update pdsinterop/solid-auth to include "public" fix.
2 parents 176fe0f + e24ae8a commit fc3abfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Utils/DPop.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function __construct(JtiValidator $jtiValidator)
4848
public function getWebId($request) {
4949
$serverParams = $request->getServerParams();
5050

51-
if (isset($serverParams['HTTP_AUTHORIZATION']) === false) {
51+
if (empty($serverParams['HTTP_AUTHORIZATION'])) {
5252
$webId = "public";
5353
} else {
5454
$this->validateRequestHeaders($serverParams);

0 commit comments

Comments
 (0)