Last active
April 25, 2021 00:31
-
-
Save acoburn/e09246b92f3ee990ee864f900271360c to your computer and use it in GitHub Desktop.
JSON-LD context for Solid-OIDC
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"@context": "https://www.w3.org/ns/solid/oidc.jsonld", | |
"client_id": "https://example.com/app", | |
"client_name": "My Client", | |
"redirect_uris": [ | |
"https://example.com/callback1", | |
"https://example.com/callback2" | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"@context": { | |
"oidc": "http://www.w3.org/ns/solid/oidc#", | |
"xsd": "http://www.w3.org/2001/XMLSchema#", | |
"client_id": { | |
"@id": "@id", | |
"@type": "@id" | |
}, | |
"client_secret": { | |
"@id": "oidc:client_secret" | |
}, | |
"redirect_uris": { | |
"@id": "oidc:redirect_uris", | |
"@type": "@id", | |
"@container": [ | |
"@id", | |
"@set" | |
] | |
}, | |
"client_name": { | |
"@id": "oidc:client_name" | |
}, | |
"logo_uri": { | |
"@id": "oidc:logo_uri", | |
"@type": "@id" | |
}, | |
"tos_uri": { | |
"@id": "oidc:tos_uri", | |
"@type": "@id" | |
}, | |
"grant_types": { | |
"@id": "oidc:grant_types" | |
}, | |
"response_types": { | |
"@id": "oidc:response_types" | |
}, | |
"scope": { | |
"@id": "oidc:scope" | |
}, | |
"default_max_age": { | |
"@id": "oidc:default_max_age", | |
"@type": "xsd:integer" | |
}, | |
"require_auth_time": { | |
"@id": "oidc:require_auth_time", | |
"@type": "xsd:boolean" | |
}, | |
"application_type": { | |
"@id": "oidc:application_type" | |
}, | |
"contacts": { | |
"@id": "oidc:contacts" | |
}, | |
"client_uri": { | |
"@id": "oidc:client_uri", | |
"@type": "@id" | |
}, | |
"policy_uri": { | |
"@id": "oidc:policy_uri", | |
"@type": "@id" | |
}, | |
"token_endpoint_auth_method": { | |
"@id": "oidc:token_endpoint_auth_method" | |
} | |
} | |
} |
.jsonld
Complement with vocab?
prefix oidc
... something to consider re prefix.cc
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Let's make sure to be actively clear on http(s) on vocab vs context use.