Skip to content

Commit 3eaba1e

Browse files
authored
Merge pull request #97 from pdsinterop/webid-issuer
added oidcIssuer to webid profile
2 parents 3025026 + e9d40cc commit 3eaba1e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

solid/lib/Controller/ProfileController.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,8 @@ private function getUserProfile($userId) {
277277
'preferences' => $this->urlGenerator->getAbsoluteURL($this->urlGenerator->linkToRoute("solid.storage.handleGet", array("userId" => $userId, "path" => "/settings/preferences.ttl"))),
278278
'privateTypeIndex' => $this->urlGenerator->getAbsoluteURL($this->urlGenerator->linkToRoute("solid.storage.handleGet", array("userId" => $userId, "path" => "/settings/privateTypeIndex.ttl"))),
279279
'publicTypeIndex' => $this->urlGenerator->getAbsoluteURL($this->urlGenerator->linkToRoute("solid.storage.handleGet", array("userId" => $userId, "path" => "/settings/publicTypeIndex.ttl"))),
280-
'storage' => $this->getStorageUrl($userId)
280+
'storage' => $this->getStorageUrl($userId),
281+
'issuer' => $this->urlGenerator->getBaseURL()
281282
);
282283
return $profile;
283284
}
@@ -312,6 +313,7 @@ private function generateTurtleProfile($userId) {
312313
solid:account ser:;
313314
solid:privateTypeIndex <<?php echo $profile['privateTypeIndex']; ?>>;
314315
solid:publicTypeIndex <<?php echo $profile['publicTypeIndex']; ?>>;
316+
solid:oidcIssuer <<?php echo $profile['issuer']; ?>>;
315317
<?php
316318
foreach ($profile['friends'] as $key => $friend) {
317319
?>

0 commit comments

Comments
 (0)