-
Notifications
You must be signed in to change notification settings - Fork 1
/
quarkus-pipelines.yml
1993 lines (1980 loc) · 88.3 KB
/
quarkus-pipelines.yml
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
---
apiVersion: tekton.dev/v1beta1
kind: Pipeline
metadata:
name: deploy-coolstore-prereqs
spec:
params:
- name: COOLSTORE_USER
type: string
default: "cooluser"
- name: COOLSTORE_PASS
type: string
default: "c00lp@ss"
- name: COOLSTORE_DB_USER
type: string
default: cool
- name: COOLSTORE_DB_PASS
type: string
default: cooldbpass
- name: KEYCLOAK_DB_USER
type: string
default: keycloak
- name: KEYCLOAK_DB_PASS
type: string
default: keycloakdbpass
workspaces:
- name: shared
tasks:
- name: deploy-coolstore-prereqs
taskRef:
name: openshift-client
kind: ClusterTask
params:
- name: SCRIPT
value: |
oc -n $(context.pipelineRun.namespace) new-app --name postgres-kc --template postgresql-persistent -p POSTGRESQL_USER=$(params.KEYCLOAK_DB_USER) -p POSTGRESQL_PASSWORD=$(params.KEYCLOAK_DB_PASS) -p POSTGRESQL_DATABASE=keycloak -p DATABASE_SERVICE_NAME=postgres-kc
oc -n $(context.pipelineRun.namespace) new-app --name postgres --template postgresql-persistent -p POSTGRESQL_USER=$(params.COOLSTORE_DB_USER) -p POSTGRESQL_PASSWORD=$(params.COOLSTORE_DB_PASS) -p POSTGRESQL_DATABASE=coolstore -p DATABASE_SERVICE_NAME=postgres
openssl req -subj '/CN=keycloak/O=Test Keycloak/C=US' -newkey rsa:2048 -nodes -keyout key.pem -x509 -days 365 -out cert.pem
oc -n $(context.pipelineRun.namespace) create secret tls keycloak-tls --cert=cert.pem --key=key.pem
cat << EOF | oc create -f -
---
apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
metadata:
name: keycloak-operator
namespace: $(context.pipelineRun.namespace)
spec:
channel: fast
installPlanApproval: Automatic
name: keycloak-operator
source: community-operators
sourceNamespace: openshift-marketplace
startingCSV: keycloak-operator.v24.0.1
---
apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
metadata:
name: rabbitmq-cluster-operator
namespace: $(context.pipelineRun.namespace)
spec:
channel: stable
installPlanApproval: Automatic
name: rabbitmq-cluster-operator
source: community-operators
sourceNamespace: openshift-marketplace
startingCSV: rabbitmq-cluster-operator.v2.7.0
---
apiVersion: rabbitmq.com/v1beta1
kind: RabbitmqCluster
metadata:
name: rabbitmq
namespace: $(context.pipelineRun.namespace)
spec:
delayStartSeconds: 30
image: rabbitmq:3.12.2-management
override: {}
persistence:
storage: 10Gi
rabbitmq:
additionalPlugins:
- rabbitmq_amqp1_0
replicas: 1
resources:
limits:
cpu: "2"
memory: 2Gi
requests:
cpu: "1"
memory: 2Gi
secretBackend:
externalSecret: {}
service:
type: ClusterIP
terminationGracePeriodSeconds: 604800
tls: {}
---
apiVersion: k8s.keycloak.org/v2alpha1
kind: Keycloak
metadata:
name: keycloak
namespace: $(context.pipelineRun.namespace)
spec:
db:
host: postgres-kc
passwordSecret:
key: database-password
name: postgres-kc
usernameSecret:
key: database-user
name: postgres-kc
vendor: postgres
http:
httpEnabled: true
tlsSecret: keycloak-tls
ingress:
className: openshift-default
instances: 1
EOF
until oc get pod keycloak-0; do sleep 1; done
oc delete po keycloak-0
until oc get pod keycloak-0; do sleep 1; done
oc wait --for=condition=ready pod keycloak-0 -n $(context.pipelineRun.namespace) --timeout=600s
cat << EOF | oc create -f -
apiVersion: k8s.keycloak.org/v2alpha1
kind: KeycloakRealmImport
metadata:
name: quarkus-import
spec:
keycloakCRName: keycloak
realm:
id: c054a229-bcd8-458b-81a4-27e333bee6e4
realm: quarkus
notBefore: 0
defaultSignatureAlgorithm: RS256
revokeRefreshToken: false
refreshTokenMaxReuse: 0
accessTokenLifespan: 300
accessTokenLifespanForImplicitFlow: 900
ssoSessionIdleTimeout: 1800
ssoSessionMaxLifespan: 36000
ssoSessionIdleTimeoutRememberMe: 0
ssoSessionMaxLifespanRememberMe: 0
offlineSessionIdleTimeout: 2592000
offlineSessionMaxLifespanEnabled: false
offlineSessionMaxLifespan: 5184000
clientSessionIdleTimeout: 0
clientSessionMaxLifespan: 0
clientOfflineSessionIdleTimeout: 0
clientOfflineSessionMaxLifespan: 0
accessCodeLifespan: 60
accessCodeLifespanUserAction: 300
accessCodeLifespanLogin: 1800
actionTokenGeneratedByAdminLifespan: 43200
actionTokenGeneratedByUserLifespan: 300
oauth2DeviceCodeLifespan: 600
oauth2DevicePollingInterval: 5
enabled: true
sslRequired: external
registrationAllowed: false
registrationEmailAsUsername: false
rememberMe: false
verifyEmail: false
loginWithEmailAllowed: true
duplicateEmailsAllowed: false
resetPasswordAllowed: false
editUsernameAllowed: false
bruteForceProtected: false
permanentLockout: false
maxFailureWaitSeconds: 900
minimumQuickLoginWaitSeconds: 60
waitIncrementSeconds: 60
quickLoginCheckMilliSeconds: 1000
maxDeltaTimeSeconds: 43200
failureFactor: 30
defaultRole:
id: 0770c39d-0f6b-4600-9307-fdbb0bf49cf8
name: default-roles-eap
description: ${role_default-roles}
composite: true
clientRole: false
containerId: c054a229-bcd8-458b-81a4-27e333bee6e4
requiredCredentials:
- password
otpPolicyType: totp
otpPolicyAlgorithm: HmacSHA1
otpPolicyInitialCounter: 0
otpPolicyDigits: 6
otpPolicyLookAheadWindow: 1
otpPolicyPeriod: 30
otpPolicyCodeReusable: false
otpSupportedApplications:
- totpAppGoogleName
- totpAppFreeOTPName
webAuthnPolicyRpEntityName: keycloak
webAuthnPolicySignatureAlgorithms:
- ES256
webAuthnPolicyRpId: ""
webAuthnPolicyAttestationConveyancePreference: not specified
webAuthnPolicyAuthenticatorAttachment: not specified
webAuthnPolicyRequireResidentKey: not specified
webAuthnPolicyUserVerificationRequirement: not specified
webAuthnPolicyCreateTimeout: 0
webAuthnPolicyAvoidSameAuthenticatorRegister: false
webAuthnPolicyAcceptableAaguids: []
webAuthnPolicyPasswordlessRpEntityName: keycloak
webAuthnPolicyPasswordlessSignatureAlgorithms:
- ES256
webAuthnPolicyPasswordlessRpId: ""
webAuthnPolicyPasswordlessAttestationConveyancePreference: not specified
webAuthnPolicyPasswordlessAuthenticatorAttachment: not specified
webAuthnPolicyPasswordlessRequireResidentKey: not specified
webAuthnPolicyPasswordlessUserVerificationRequirement: not specified
webAuthnPolicyPasswordlessCreateTimeout: 0
webAuthnPolicyPasswordlessAvoidSameAuthenticatorRegister: false
webAuthnPolicyPasswordlessAcceptableAaguids: []
scopeMappings:
- clientScope: offline_access
roles:
- offline_access
clientScopeMappings:
account:
- client: account-console
roles:
- manage-account
- view-groups
clients:
- id: e9c6c371-2ecc-4e0c-9692-5d9a430de0e1
clientId: account
name: ${client_account}
rootUrl: ${authBaseUrl}
baseUrl: /realms/eap/account/
surrogateAuthRequired: false
enabled: true
alwaysDisplayInConsole: false
clientAuthenticatorType: client-secret
redirectUris:
- /realms/eap/account/*
webOrigins: []
notBefore: 0
bearerOnly: false
consentRequired: false
standardFlowEnabled: true
implicitFlowEnabled: false
directAccessGrantsEnabled: false
serviceAccountsEnabled: false
publicClient: true
frontchannelLogout: false
protocol: openid-connect
attributes:
post.logout.redirect.uris: +
authenticationFlowBindingOverrides: {}
fullScopeAllowed: false
nodeReRegistrationTimeout: 0
defaultClientScopes:
- web-origins
- acr
- roles
- profile
- email
optionalClientScopes:
- address
- phone
- offline_access
- microprofile-jwt
- id: be75b005-7b27-4c40-a271-b42556f0ab01
clientId: account-console
name: ${client_account-console}
description: ""
rootUrl: ${authBaseUrl}
adminUrl: ""
baseUrl: /realms/eap/account/
surrogateAuthRequired: false
enabled: true
alwaysDisplayInConsole: false
clientAuthenticatorType: client-secret
redirectUris:
- /realms/eap/account/*
webOrigins:
- '*'
notBefore: 0
bearerOnly: false
consentRequired: false
standardFlowEnabled: true
implicitFlowEnabled: false
directAccessGrantsEnabled: false
serviceAccountsEnabled: false
publicClient: true
frontchannelLogout: false
protocol: openid-connect
attributes:
oidc.ciba.grant.enabled: "false"
backchannel.logout.session.required: "true"
post.logout.redirect.uris: +
oauth2.device.authorization.grant.enabled: "false"
display.on.consent.screen: "false"
pkce.code.challenge.method: S256
backchannel.logout.revoke.offline.tokens: "false"
authenticationFlowBindingOverrides: {}
fullScopeAllowed: false
nodeReRegistrationTimeout: 0
protocolMappers:
- id: 348b3fbe-95dd-42ad-a6ac-66f1e2ddba8c
name: audience resolve
protocol: openid-connect
protocolMapper: oidc-audience-resolve-mapper
consentRequired: false
config: {}
defaultClientScopes:
- web-origins
- acr
- roles
- profile
- email
optionalClientScopes:
- address
- phone
- offline_access
- microprofile-jwt
- id: 4bb4c0c7-9f37-4616-9cf8-5cca0b4523fd
clientId: admin-cli
name: ${client_admin-cli}
surrogateAuthRequired: false
enabled: true
alwaysDisplayInConsole: false
clientAuthenticatorType: client-secret
redirectUris: []
webOrigins: []
notBefore: 0
bearerOnly: false
consentRequired: false
standardFlowEnabled: false
implicitFlowEnabled: false
directAccessGrantsEnabled: true
serviceAccountsEnabled: false
publicClient: true
frontchannelLogout: false
protocol: openid-connect
attributes: {}
authenticationFlowBindingOverrides: {}
fullScopeAllowed: false
nodeReRegistrationTimeout: 0
defaultClientScopes:
- web-origins
- acr
- roles
- profile
- email
optionalClientScopes:
- address
- phone
- offline_access
- microprofile-jwt
- id: 92f3824a-db66-44b3-9012-e6dcf8cc5cb3
clientId: broker
name: ${client_broker}
surrogateAuthRequired: false
enabled: true
alwaysDisplayInConsole: false
clientAuthenticatorType: client-secret
redirectUris: []
webOrigins: []
notBefore: 0
bearerOnly: true
consentRequired: false
standardFlowEnabled: true
implicitFlowEnabled: false
directAccessGrantsEnabled: false
serviceAccountsEnabled: false
publicClient: false
frontchannelLogout: false
protocol: openid-connect
attributes: {}
authenticationFlowBindingOverrides: {}
fullScopeAllowed: false
nodeReRegistrationTimeout: 0
defaultClientScopes:
- web-origins
- acr
- roles
- profile
- email
optionalClientScopes:
- address
- phone
- offline_access
- microprofile-jwt
- id: 24ce7951-ec39-490f-bc36-91bff17c13aa
clientId: ui
name: ""
description: ""
rootUrl: ""
adminUrl: ""
baseUrl: ""
surrogateAuthRequired: false
enabled: true
alwaysDisplayInConsole: false
clientAuthenticatorType: client-secret
redirectUris:
- ""
- '*'
webOrigins:
- '*'
notBefore: 0
bearerOnly: false
consentRequired: false
standardFlowEnabled: true
implicitFlowEnabled: true
directAccessGrantsEnabled: true
serviceAccountsEnabled: false
publicClient: true
frontchannelLogout: true
protocol: openid-connect
attributes:
client.secret.creation.time: "1677078233"
post.logout.redirect.uris: '*'
oauth2.device.authorization.grant.enabled: "false"
backchannel.logout.revoke.offline.tokens: "false"
use.refresh.tokens: "true"
tls-client-certificate-bound-access-tokens: "false"
oidc.ciba.grant.enabled: "false"
backchannel.logout.session.required: "true"
client_credentials.use_refresh_token: "false"
acr.loa.map: '{}'
require.pushed.authorization.requests: "false"
display.on.consent.screen: "false"
token.response.type.bearer.lower-case: "false"
authenticationFlowBindingOverrides: {}
fullScopeAllowed: true
nodeReRegistrationTimeout: -1
protocolMappers:
- id: 7cc9bd92-754d-4764-9565-128bcdcd7daa
name: Client Host
protocol: openid-connect
protocolMapper: oidc-usersessionmodel-note-mapper
consentRequired: false
config:
user.session.note: clientHost
id.token.claim: "true"
access.token.claim: "true"
claim.name: clientHost
jsonType.label: String
- id: 2dad55b4-fe76-4b8f-9e8c-038227a5cb4d
name: Client ID
protocol: openid-connect
protocolMapper: oidc-usersessionmodel-note-mapper
consentRequired: false
config:
user.session.note: clientId
id.token.claim: "true"
access.token.claim: "true"
claim.name: clientId
jsonType.label: String
- id: fb2653ce-cc37-4770-aa81-d339d6100099
name: Client IP Address
protocol: openid-connect
protocolMapper: oidc-usersessionmodel-note-mapper
consentRequired: false
config:
user.session.note: clientAddress
id.token.claim: "true"
access.token.claim: "true"
claim.name: clientAddress
jsonType.label: String
defaultClientScopes:
- web-origins
- acr
- roles
- profile
- email
optionalClientScopes:
- address
- phone
- offline_access
- microprofile-jwt
- id: 3f83324f-813c-41f1-ab90-70276d3fafa1
clientId: realm-management
name: ${client_realm-management}
surrogateAuthRequired: false
enabled: true
alwaysDisplayInConsole: false
clientAuthenticatorType: client-secret
redirectUris: []
webOrigins: []
notBefore: 0
bearerOnly: true
consentRequired: false
standardFlowEnabled: true
implicitFlowEnabled: false
directAccessGrantsEnabled: false
serviceAccountsEnabled: false
publicClient: false
frontchannelLogout: false
protocol: openid-connect
attributes: {}
authenticationFlowBindingOverrides: {}
fullScopeAllowed: false
nodeReRegistrationTimeout: 0
defaultClientScopes:
- web-origins
- acr
- roles
- profile
- email
optionalClientScopes:
- address
- phone
- offline_access
- microprofile-jwt
- id: d00da663-ef26-4673-a5d6-06011c396d00
clientId: security-admin-console
name: ${client_security-admin-console}
rootUrl: ${authAdminUrl}
baseUrl: /admin/eap/console/
surrogateAuthRequired: false
enabled: true
alwaysDisplayInConsole: false
clientAuthenticatorType: client-secret
redirectUris:
- /admin/eap/console/*
webOrigins:
- +
notBefore: 0
bearerOnly: false
consentRequired: false
standardFlowEnabled: true
implicitFlowEnabled: false
directAccessGrantsEnabled: false
serviceAccountsEnabled: false
publicClient: true
frontchannelLogout: false
protocol: openid-connect
attributes:
post.logout.redirect.uris: +
pkce.code.challenge.method: S256
authenticationFlowBindingOverrides: {}
fullScopeAllowed: false
nodeReRegistrationTimeout: 0
protocolMappers:
- id: 9da678f5-0ba4-40dd-a2c0-7579ee8fdc7e
name: locale
protocol: openid-connect
protocolMapper: oidc-usermodel-attribute-mapper
consentRequired: false
config:
userinfo.token.claim: "true"
user.attribute: locale
id.token.claim: "true"
access.token.claim: "true"
claim.name: locale
jsonType.label: String
defaultClientScopes:
- web-origins
- acr
- roles
- profile
- email
optionalClientScopes:
- address
- phone
- offline_access
- microprofile-jwt
clientScopes:
- id: 03566133-1ef1-45c6-9255-c0524caf82f9
name: role_list
description: SAML role list
protocol: saml
attributes:
consent.screen.text: ${samlRoleListScopeConsentText}
display.on.consent.screen: "true"
protocolMappers:
- id: 25d2d3d3-c7e5-4978-876b-b33f17b309eb
name: role list
protocol: saml
protocolMapper: saml-role-list-mapper
consentRequired: false
config:
single: "false"
attribute.nameformat: Basic
attribute.name: Role
- id: 767d594d-f576-4ee2-81a7-16ac1cca5fbf
name: address
description: 'OpenID Connect built-in scope: address'
protocol: openid-connect
attributes:
include.in.token.scope: "true"
display.on.consent.screen: "true"
consent.screen.text: ${addressScopeConsentText}
protocolMappers:
- id: 18c460f7-c503-42ec-a18e-3dd240d7ed3b
name: address
protocol: openid-connect
protocolMapper: oidc-address-mapper
consentRequired: false
config:
user.attribute.formatted: formatted
user.attribute.country: country
user.attribute.postal_code: postal_code
userinfo.token.claim: "true"
user.attribute.street: street
id.token.claim: "true"
user.attribute.region: region
access.token.claim: "true"
user.attribute.locality: locality
- id: f77ec6ad-40ee-46f0-a74a-0c4026a62211
name: phone
description: 'OpenID Connect built-in scope: phone'
protocol: openid-connect
attributes:
include.in.token.scope: "true"
display.on.consent.screen: "true"
consent.screen.text: ${phoneScopeConsentText}
protocolMappers:
- id: 2cba7d5f-4425-48b7-963a-3eb5ac28e8ba
name: phone number verified
protocol: openid-connect
protocolMapper: oidc-usermodel-attribute-mapper
consentRequired: false
config:
userinfo.token.claim: "true"
user.attribute: phoneNumberVerified
id.token.claim: "true"
access.token.claim: "true"
claim.name: phone_number_verified
jsonType.label: boolean
- id: d20fd766-f4ec-4659-9523-1a75e3331503
name: phone number
protocol: openid-connect
protocolMapper: oidc-usermodel-attribute-mapper
consentRequired: false
config:
userinfo.token.claim: "true"
user.attribute: phoneNumber
id.token.claim: "true"
access.token.claim: "true"
claim.name: phone_number
jsonType.label: String
- id: 6d7f09d9-7979-46bd-a5af-ad73e58f11c8
name: roles
description: OpenID Connect scope for add user roles to the access token
protocol: openid-connect
attributes:
include.in.token.scope: "false"
display.on.consent.screen: "true"
consent.screen.text: ${rolesScopeConsentText}
protocolMappers:
- id: acd34eb2-e2a7-45bb-8326-779ec0a9ded4
name: audience resolve
protocol: openid-connect
protocolMapper: oidc-audience-resolve-mapper
consentRequired: false
config: {}
- id: 6b4ae73f-b6ca-4fdc-a8bb-57de8e26340a
name: client roles
protocol: openid-connect
protocolMapper: oidc-usermodel-client-role-mapper
consentRequired: false
config:
user.attribute: foo
access.token.claim: "true"
claim.name: resource_access.${client_id}.roles
jsonType.label: String
multivalued: "true"
- id: 0503c6a2-b1b1-47c4-bdd5-2beed11b4d6d
name: realm roles
protocol: openid-connect
protocolMapper: oidc-usermodel-realm-role-mapper
consentRequired: false
config:
user.attribute: foo
access.token.claim: "true"
claim.name: realm_access.roles
jsonType.label: String
multivalued: "true"
- id: 505ff63c-29a3-4bad-ae87-0634d3d5cfc4
name: profile
description: 'OpenID Connect built-in scope: profile'
protocol: openid-connect
attributes:
include.in.token.scope: "true"
display.on.consent.screen: "true"
consent.screen.text: ${profileScopeConsentText}
protocolMappers:
- id: 8a3c9dcb-a6e9-43e7-8cdf-d753b9220fb9
name: gender
protocol: openid-connect
protocolMapper: oidc-usermodel-attribute-mapper
consentRequired: false
config:
userinfo.token.claim: "true"
user.attribute: gender
id.token.claim: "true"
access.token.claim: "true"
claim.name: gender
jsonType.label: String
- id: 906714bc-682b-47ce-a170-3098d0f9b2d8
name: updated at
protocol: openid-connect
protocolMapper: oidc-usermodel-attribute-mapper
consentRequired: false
config:
userinfo.token.claim: "true"
user.attribute: updatedAt
id.token.claim: "true"
access.token.claim: "true"
claim.name: updated_at
jsonType.label: long
- id: 2e8ea554-8436-45b3-bbff-197a6821f2f0
name: locale
protocol: openid-connect
protocolMapper: oidc-usermodel-attribute-mapper
consentRequired: false
config:
userinfo.token.claim: "true"
user.attribute: locale
id.token.claim: "true"
access.token.claim: "true"
claim.name: locale
jsonType.label: String
- id: d7b09b38-bf20-472a-a926-e6c774dffd00
name: family name
protocol: openid-connect
protocolMapper: oidc-usermodel-property-mapper
consentRequired: false
config:
userinfo.token.claim: "true"
user.attribute: lastName
id.token.claim: "true"
access.token.claim: "true"
claim.name: family_name
jsonType.label: String
- id: 00a6b70e-2e43-4382-877a-abbde23c6fd0
name: zoneinfo
protocol: openid-connect
protocolMapper: oidc-usermodel-attribute-mapper
consentRequired: false
config:
userinfo.token.claim: "true"
user.attribute: zoneinfo
id.token.claim: "true"
access.token.claim: "true"
claim.name: zoneinfo
jsonType.label: String
- id: 621002ea-e65d-42dc-9fb7-87dba3690542
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
- id: 6ca0c332-c463-4a87-904b-3f9fde4ae63b
name: website
protocol: openid-connect
protocolMapper: oidc-usermodel-attribute-mapper
consentRequired: false
config:
userinfo.token.claim: "true"
user.attribute: website
id.token.claim: "true"
access.token.claim: "true"
claim.name: website
jsonType.label: String
- id: f29a3264-f585-4a2e-907e-eedfbaffb0a8
name: nickname
protocol: openid-connect
protocolMapper: oidc-usermodel-attribute-mapper
consentRequired: false
config:
userinfo.token.claim: "true"
user.attribute: nickname
id.token.claim: "true"
access.token.claim: "true"
claim.name: nickname
jsonType.label: String
- id: 19c792b4-fc00-4899-8d4a-d011c34a17f0
name: profile
protocol: openid-connect
protocolMapper: oidc-usermodel-attribute-mapper
consentRequired: false
config:
userinfo.token.claim: "true"
user.attribute: profile
id.token.claim: "true"
access.token.claim: "true"
claim.name: profile
jsonType.label: String
- id: e2a8fa65-ac41-4d7d-abd6-2504428428df
name: full name
protocol: openid-connect
protocolMapper: oidc-full-name-mapper
consentRequired: false
config:
id.token.claim: "true"
access.token.claim: "true"
userinfo.token.claim: "true"
- id: 150168bc-744b-4478-b8d6-e713efc1b406
name: middle name
protocol: openid-connect
protocolMapper: oidc-usermodel-attribute-mapper
consentRequired: false
config:
userinfo.token.claim: "true"
user.attribute: middleName
id.token.claim: "true"
access.token.claim: "true"
claim.name: middle_name
jsonType.label: String
- id: 05954453-866f-43e6-a030-8dad14f06c4c
name: birthdate
protocol: openid-connect
protocolMapper: oidc-usermodel-attribute-mapper
consentRequired: false
config:
userinfo.token.claim: "true"
user.attribute: birthdate
id.token.claim: "true"
access.token.claim: "true"
claim.name: birthdate
jsonType.label: String
- id: 8a5acd0c-a4dd-41f8-b202-856f87423c7a
name: given name
protocol: openid-connect
protocolMapper: oidc-usermodel-property-mapper
consentRequired: false
config:
userinfo.token.claim: "true"
user.attribute: firstName
id.token.claim: "true"
access.token.claim: "true"
claim.name: given_name
jsonType.label: String
- id: 55547d20-c088-458e-9c33-5a3c992b7636
name: picture
protocol: openid-connect
protocolMapper: oidc-usermodel-attribute-mapper
consentRequired: false
config:
userinfo.token.claim: "true"
user.attribute: picture
id.token.claim: "true"
access.token.claim: "true"
claim.name: picture
jsonType.label: String
- id: d39f5398-3e12-4b27-9797-b566c608aade
name: microprofile-jwt
description: Microprofile - JWT built-in scope
protocol: openid-connect
attributes:
include.in.token.scope: "true"
display.on.consent.screen: "false"
protocolMappers:
- id: 2b62eea1-37ad-4bb8-8552-a6731635cadf
name: groups
protocol: openid-connect
protocolMapper: oidc-usermodel-realm-role-mapper
consentRequired: false
config:
multivalued: "true"
user.attribute: foo
id.token.claim: "true"
access.token.claim: "true"
claim.name: groups
jsonType.label: String
- id: d1987076-82d1-4964-8b77-81350e299b70
name: upn
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: upn
jsonType.label: String
- id: b6e369a9-3f15-476c-bf52-36e6099c5a78
name: web-origins
description: OpenID Connect scope for add allowed web origins to the access token
protocol: openid-connect
attributes:
include.in.token.scope: "false"
display.on.consent.screen: "false"
consent.screen.text: ""
protocolMappers:
- id: 1b6a4769-7b34-483d-b592-67ff27a03d78
name: allowed web origins
protocol: openid-connect
protocolMapper: oidc-allowed-origins-mapper
consentRequired: false
config: {}
- id: dd30154e-2e9e-49c7-a3c4-0406dcbece10
name: offline_access
description: 'OpenID Connect built-in scope: offline_access'
protocol: openid-connect
attributes:
consent.screen.text: ${offlineAccessScopeConsentText}
display.on.consent.screen: "true"
- id: 25f485af-de62-4c1b-ae0d-63c928776d93
name: email
description: 'OpenID Connect built-in scope: email'
protocol: openid-connect
attributes:
include.in.token.scope: "true"
display.on.consent.screen: "true"
consent.screen.text: ${emailScopeConsentText}
protocolMappers:
- id: 8d0bcaee-86cc-442f-b021-3a961df72428
name: email
protocol: openid-connect
protocolMapper: oidc-usermodel-property-mapper
consentRequired: false
config:
userinfo.token.claim: "true"
user.attribute: email
id.token.claim: "true"
access.token.claim: "true"
claim.name: email
jsonType.label: String
- id: 4ed5c341-9d2a-483d-b7e3-2e1aa62d5d20
name: email verified
protocol: openid-connect
protocolMapper: oidc-usermodel-property-mapper
consentRequired: false
config:
userinfo.token.claim: "true"
user.attribute: emailVerified
id.token.claim: "true"
access.token.claim: "true"
claim.name: email_verified
jsonType.label: boolean
- id: 34f5a6c0-a71b-4fc7-96d8-38a9800dd5a2
name: acr
description: OpenID Connect scope for add acr (authentication context class reference) to the token
protocol: openid-connect
attributes:
include.in.token.scope: "false"
display.on.consent.screen: "false"
protocolMappers:
- id: b9b03f0d-41eb-4763-af2e-2fd7e123a179
name: acr loa level
protocol: openid-connect
protocolMapper: oidc-acr-mapper
consentRequired: false
config:
id.token.claim: "true"
access.token.claim: "true"
defaultDefaultClientScopes:
- role_list
- profile
- email
- roles
- web-origins
- acr
defaultOptionalClientScopes:
- offline_access
- address
- phone
- microprofile-jwt
browserSecurityHeaders:
contentSecurityPolicyReportOnly: ""
xContentTypeOptions: nosniff
xRobotsTag: none
xFrameOptions: SAMEORIGIN
contentSecurityPolicy: frame-src 'self'; frame-ancestors 'self'; object-src 'none';
xXSSProtection: 1; mode=block
strictTransportSecurity: max-age=31536000; includeSubDomains
smtpServer: {}
eventsEnabled: true
eventsListeners:
- jboss-logging
- email
enabledEventTypes: []
adminEventsEnabled: true
adminEventsDetailsEnabled: false
identityProviders: []
identityProviderMappers: []
components:
org.keycloak.services.clientregistration.policy.ClientRegistrationPolicy:
- id: 093ce19c-21c6-426b-a5f9-c84485d49178
name: Allowed Client Scopes
providerId: allowed-client-templates
subType: anonymous
subComponents: {}
config:
allow-default-scopes:
- "true"
- id: 0b83a8d8-463b-43b8-8478-8ef254e4b0da
name: Max Clients Limit
providerId: max-clients
subType: anonymous
subComponents: {}
config:
max-clients:
- "200"