mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
fix: Add necessary claims to access and id tokens
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user