fix: Add necessary claims to access and id tokens

This commit is contained in:
Joachim Van Herwegen
2021-07-12 14:44:28 +02:00
parent e43b579ae7
commit 2be360a7af
3 changed files with 33 additions and 18 deletions

View File

@@ -2,7 +2,10 @@
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^1.0.0/components/context.jsonld",
"@graph": [
{
"comment": "Sets all the relevant oidc parameters.",
"comment": [
"Sets all the relevant oidc parameters.",
"webid claim is in openid scope until an official scope has been decided: https://github.com/solid/authentication-panel/issues/86"
],
"@id": "urn:solid-server:default:IdentityProviderFactory",
"@type": "IdentityProviderFactory",
"args_adapterFactory": { "@id": "urn:solid-server:default:IdpAdapterFactory" },
@@ -13,7 +16,7 @@
"args_responseWriter": { "@id": "urn:solid-server:default:ResponseWriter" },
"config": {
"claims": {
"webid": [ "webid", "client_id" ]
"openid": [ "webid", "client_id" ]
},
"cookies": {
"long": { "signed": true, "maxAge": 86400000 },
@@ -33,6 +36,7 @@
"formats": {
"AccessToken": "jwt"
},
"scopes": [ "openid", "profile", "offline_access" ],
"ttl": {
"AccessToken": 3600,
"AuthorizationCode": 600,