forked from pasqualecvl/cas-service-registry-example
-
Notifications
You must be signed in to change notification settings - Fork 1
/
oidc-service-registry-2.json
38 lines (38 loc) · 1.23 KB
/
oidc-service-registry-2.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
{
"@class" : "org.apereo.cas.services.OidcRegisteredService",
"clientId": "client2",
"clientSecret": "secret2",
"serviceId" : "http://localhost:8043/app2",
"implicit": true,
"signIdToken": false,
"name": "OIDC2",
"id": 1001,
"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" ] ],
"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
}
]
]
}}