forked from pasqualecvl/cas-service-registry-example
-
Notifications
You must be signed in to change notification settings - Fork 1
/
oidc-service-registry-claims.json
41 lines (41 loc) · 1.44 KB
/
oidc-service-registry-claims.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
{
"@class" : "org.apereo.cas.services.OidcRegisteredService",
"clientId": "flywalletclient",
"clientSecret": "flywalletsecret",
"serviceId" : "http://idp.test.flywallet-api.com/oidc",
"implicit": true,
"signIdToken": false,
"name": "flywallet",
"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", "pgc-role" ] ],
"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" ] ]
}
]
]
}}