Solid-OIDC Client IDs#
Solid-OIDC Client Identifiers (Client IDs) are URIs that dereference to a JSON-LD document, namely the Client ID document.
The Client ID document is a JSON-LD document with:
A
@context
value ofhttps://www.w3.org/ns/solid/oidc-context.jsonld
.Fields conformant to an OIDC client registration.
For example, the following sample JSON-LD document may be found by
dereferencing the Client ID https://my-app.example.com/myappid.jsonld
:
{
"@context": "https://www.w3.org/ns/solid/oidc-context.jsonld",
"client_id": "https://my-app.example.com/myappid.jsonld",
"redirect_uris": ["https://my-app.example.com/callbackAfterLogin"],
"client_name": "My Sample App",
"client_uri": "https://my-app.example.com/",
"logo_uri": "https://my-app.example.com/logo.png",
"tos_uri": "https://my-app.example.com/terms.html",
"policy_uri": "https://my-app.example.com/policy.html",
"contacts": ["someone@example.com"],
"scope" : "openid offline_access webid",
"grant_types" : ["refresh_token","authorization_code"],
"post_logout_redirect_uris": [
"https://my-app.example.com/"
]
}
Field |
Description |
||||||||
---|---|---|---|---|---|---|---|---|---|
|
The context for the JSON-LD document. The expected |
||||||||
|
A string containing the application’s Client Identifier. |
||||||||
|
An array containing URIs where the Solid Identity Provider may redirect the user to complete the login process. Tip To test with a locally running application during
development, you can specify the localhost url (i.e.,
|
||||||||
|
A string containing a space-delimited list of OAuth2.0 scopes your application is allowed to request. OAuth2.0 scopes include:
Custom values may also be specified. |
||||||||
|
An array of OAuth 2.0 grant types that the client can use at the authorization server’s token endpoint.
For additional values, see the |
||||||||
|
Optional. A string containing a user-friendly name for the application. |
||||||||
|
Optional. A string containing the application’s homepage URI. |
||||||||
|
Optional. A string containing the URI where the application’s logo is available. |
||||||||
|
Optional. A string containing the URI where the application’s terms of service are available. |
||||||||
|
Optional. A string containing the URI where the application’s privacy policy is available. |
||||||||
|
Optional. An array of contact information for the application. |
Tip
For additional fields to include in the document as well as more information on the aforementioned fields, see RFC7591.