-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathkeycloak-example-client.yaml
87 lines (87 loc) · 2.27 KB
/
keycloak-example-client.yaml
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
apiVersion: keycloak.org/v1alpha1
kind: KeycloakClient
metadata:
name: aflow
labels:
client: aflow
annotations:
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
spec:
realmSelector:
matchLabels:
realm: dev
client:
authorizationServicesEnabled: false
bearerOnly: false
name: aflow
clientId: aflow
clientAuthenticatorType: "client-secret"
consentRequired: false
defaultClientScopes:
- "profile"
- "email"
- "roles"
enabled: true
frontchannelLogout: false
fullScopeAllowed: true
protocol: openid-connect
standardFlowEnabled: true
serviceAccountsEnabled: true
directAccessGrantsEnabled: true
surrogateAuthRequired: false
secret: <secret>
implicitFlowEnabled: false
publicClient: false
redirectUris:
- "*"
webOrigins:
- "*"
nodeReRegistrationTimeout: -1
protocolMappers:
- name: username
protocol: openid-connect
protocolMapper: oidc-usermodel-property-mapper
consentRequired: false
config:
userinfo.token.claim: 'true'
user.attribute: username
id.token.claim: 'true'
access.token.claim: 'true'
claim.name: preferred_username
jsonType.label: String
- name: 'client roles'
protocol: openid-connect
protocolMapper: oidc-usermodel-client-role-mapper
consentRequired: false
config:
userinfo.token.claim: 'true'
id.token.claim: 'true'
user.attribute: username
access.token.claim: 'true'
claim.name: 'resource_access.${client_id}.roles'
jsonType.label: String
multivalued: 'true'
- name: audience
protocol: openid-connect
protocolMapper: oidc-audience-mapper
consentRequired: false
config:
included.client.audience: superset
id.token.claim: 'false'
access.token.claim: 'true'
roles:
- name: Admin
composite: false
clientRole: true
- name: Public
composite: false
clientRole: true
- name: Viewer
composite: false
clientRole: true
- name: User
composite: false
clientRole: true
- name: Op
composite: false
clientRole: true