forked from pasqualecvl/cas-service-registry-example
-
Notifications
You must be signed in to change notification settings - Fork 1
/
oidc-service-registy-dspace-localhost.json
46 lines (46 loc) · 1.63 KB
/
oidc-service-registy-dspace-localhost.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
"@class" : "org.apereo.cas.services.OidcRegisteredService",
"clientId": "client2",
"clientSecret": "secret2",
"serviceId" : "http://localhost:8080/server/api/authn/oidc",
"logoutType" : "FRONT_CHANNEL",
"logoutUrl" : "http://localhost:4000/assets/images/slo.json",
"implicit": true,
"signIdToken": true,
"idTokenSigningAlg": "RS256",
"name": "DSpace",
"id": 11,
"generateRefreshToken": true,
"jwtAccessToken": true,
"supportedGrantTypes": [ "java.util.HashSet", [ "authorization_code", "password", "client_credentials", "refresh_token" ] ],
"supportedResponseTypes": [ "java.util.HashSet", [ "code" ] ],
"scopes" : [ "java.util.HashSet", [ "profile", "email", "phone", "address", "pgc-role", "reniec-info", "orcid" ] ],
"attributeReleasePolicy": {
"@class": "org.apereo.cas.services.ChainingAttributeReleasePolicy",
"policies": [
"java.util.ArrayList",
[
{
"@class": "org.apereo.cas.oidc.claims.OidcEmailScopeAttributeReleasePolicy",
"order":0
},
{
"@class": "org.apereo.cas.oidc.claims.OidcProfileScopeAttributeReleasePolicy",
"order":1
},
{
"@class": "org.apereo.cas.oidc.claims.OidcAddressScopeAttributeReleasePolicy",
"order":2
},
{
"@class": "org.apereo.cas.oidc.claims.OidcPhoneScopeAttributeReleasePolicy",
"order":3
},{
"@class" : "org.apereo.cas.services.ReturnAllowedAttributeReleasePolicy",
"allowedAttributes" : [ "java.util.ArrayList", [ "pgc-role", "reniec_verified", "orcid" ] ],
"order":4
}
]
]
}
}