diff --git a/src/pods/settings/PodSettings.ts b/src/pods/settings/PodSettings.ts index d32999f39..24e4cc240 100644 --- a/src/pods/settings/PodSettings.ts +++ b/src/pods/settings/PodSettings.ts @@ -25,4 +25,12 @@ export interface PodSettings extends NodeJS.Dict { * E-mail of the owner. Used in provisioning templates. */ email?: string; + /** + * The OIDC issuer of the owner's WebId. + */ + oidcIssuer?: string; + /** + * A registration token for linking the owner's WebId to an IdP. + */ + oidcIssuerRegistrationToken?: string; } diff --git a/templates/pod/profile/card$.ttl b/templates/pod/profile/card$.ttl index 77489553a..4c0c0364d 100644 --- a/templates/pod/profile/card$.ttl +++ b/templates/pod/profile/card$.ttl @@ -1,4 +1,5 @@ @prefix foaf: . +@prefix solid: . <> a foaf:PersonalProfileDocument; @@ -7,4 +8,6 @@ <{{webId}}> a foaf:Person; - foaf:name "{{name}}". + foaf:name "{{name}}"; + solid:oidcIssuer <{{oidcIssuer}}> ; + solid:oidcIssuerRegistrationToken "{{oidcIssuerRegistrationToken}}" .