keycloak-scim/js/apps/account-ui/test/realms/groups-realm.json
Hynek Mlnařík 004805e21d
Add tests for linked accounts (#27299)
Fixes: #21248

Signed-off-by: Hynek Mlnarik <hmlnarik@redhat.com>
2024-02-27 07:15:23 +01:00

186 lines
5.9 KiB
JSON

{
"realm": "groups",
"accountTheme": "keycloak.v3",
"enabled": true,
"userManagedAccessAllowed": true,
"sslRequired": "external",
"privateKey": "MIICXAIBAAKBgQCrVrCuTtArbgaZzL1hvh0xtL5mc7o0NqPVnYXkLvgcwiC3BjLGw1tGEGoJaXDuSaRllobm53JBhjx33UNv+5z/UMG4kytBWxheNVKnL6GgqlNabMaFfPLPCF8kAgKnsi79NMo+n6KnSY8YeUmec/p2vjO2NjsSAVcWEQMVhJ31LwIDAQABAoGAfmO8gVhyBxdqlxmIuglbz8bcjQbhXJLR2EoS8ngTXmN1bo2L90M0mUKSdc7qF10LgETBzqL8jYlQIbt+e6TH8fcEpKCjUlyq0Mf/vVbfZSNaVycY13nTzo27iPyWQHK5NLuJzn1xvxxrUeXI6A2WFpGEBLbHjwpx5WQG9A+2scECQQDvdn9NE75HPTVPxBqsEd2z10TKkl9CZxu10Qby3iQQmWLEJ9LNmy3acvKrE3gMiYNWb6xHPKiIqOR1as7L24aTAkEAtyvQOlCvr5kAjVqrEKXalj0Tzewjweuxc0pskvArTI2Oo070h65GpoIKLc9jf+UA69cRtquwP93aZKtW06U8dQJAF2Y44ks/mK5+eyDqik3koCI08qaC8HYq2wVl7G2QkJ6sbAaILtcvD92ToOvyGyeE0flvmDZxMYlvaZnaQ0lcSQJBAKZU6umJi3/xeEbkJqMfeLclD27XGEFoPeNrmdx0q10Azp4NfJAY+Z8KRyQCR2BEG+oNitBOZ+YXF9KCpH3cdmECQHEigJhYg+ykOvr1aiZUMFT72HU0jnmQe2FVekuG+LJUt2Tm7GtMjTFoGpf0JwrVuZN39fOYAlo+nTixgeW7X8Y=",
"publicKey": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCrVrCuTtArbgaZzL1hvh0xtL5mc7o0NqPVnYXkLvgcwiC3BjLGw1tGEGoJaXDuSaRllobm53JBhjx33UNv+5z/UMG4kytBWxheNVKnL6GgqlNabMaFfPLPCF8kAgKnsi79NMo+n6KnSY8YeUmec/p2vjO2NjsSAVcWEQMVhJ31LwIDAQAB",
"requiredCredentials": [
"password"
],
"users": [
{
"username": "jdoe",
"firstName": "John",
"lastName": "Doe",
"email": "jdoe@keycloak.org",
"enabled": true,
"realmRoles": [],
"clientRoles": {
"account": ["view-groups", "manage-account"]
},
"credentials": [
{
"type": "password",
"value": "jdoe"
}
],
"groups" : [ "/one", "/two", "/three" ]
},
{
"username": "alice",
"firstName": "Alice",
"lastName": "Alison",
"email": "alice@keycloak.org",
"enabled": true,
"realmRoles": [],
"clientRoles": {
"account": ["view-groups"]
},
"credentials": [
{
"type": "password",
"value": "alice"
}
],
"groups" : [ "/one/subgroup", "/four", "/five" ]
}
],
"groups": [
{
"id": "2a81d08d-9720-46c3-b66f-b566bcc7bce7",
"name": "five",
"path": "/five",
"attributes": {},
"realmRoles": [],
"clientRoles": {},
"subGroups": []
},
{
"id": "68582f84-e8a3-4e74-b4ab-6a75d85c690d",
"name": "four",
"path": "/four",
"attributes": {},
"realmRoles": [],
"clientRoles": {},
"subGroups": []
},
{
"id": "2b96c84d-cf09-4bc7-8292-d84a346bcc77",
"name": "one",
"path": "/one",
"attributes": {},
"realmRoles": [],
"clientRoles": {},
"subGroups": [
{
"id": "7722ed31-0d9a-438a-895d-1cb7c1691c38",
"name": "subgroup",
"path": "/one/subgroup",
"attributes": {},
"realmRoles": [],
"clientRoles": {},
"subGroups": []
}
]
},
{
"id": "fd9ec69b-aad3-426a-9412-a9c6819f72ff",
"name": "three",
"path": "/three",
"attributes": {},
"realmRoles": [],
"clientRoles": {},
"subGroups": []
},
{
"id": "c2153a9f-b300-4843-9663-fdfb42a973ad",
"name": "two",
"path": "/two",
"attributes": {},
"realmRoles": [],
"clientRoles": {},
"subGroups": []
}
],
"clients": [
{
"clientId": "security-admin-console-v2",
"rootUrl": "http://localhost:8080/",
"adminUrl": "http://localhost:8080/",
"surrogateAuthRequired": false,
"enabled": true,
"alwaysDisplayInConsole": false,
"clientAuthenticatorType": "client-secret",
"redirectUris": [
"http://localhost:8080/*"
],
"webOrigins": [
"http://localhost:8080"
],
"notBefore": 0,
"bearerOnly": false,
"consentRequired": false,
"standardFlowEnabled": true,
"implicitFlowEnabled": false,
"directAccessGrantsEnabled": true,
"serviceAccountsEnabled": false,
"publicClient": true,
"frontchannelLogout": false,
"protocol": "openid-connect",
"attributes": {},
"authenticationFlowBindingOverrides": {},
"fullScopeAllowed": true,
"nodeReRegistrationTimeout": -1,
"defaultClientScopes": [
"web-origins",
"role_list",
"roles",
"profile",
"email"
],
"optionalClientScopes": [
"address",
"phone",
"offline_access",
"microprofile-jwt"
],
"access": {
"view": true,
"configure": true,
"manage": true
}
}
],
"identityProviders": [
{
"alias": "oidc",
"displayName": "",
"providerId": "oidc",
"enabled": true,
"updateProfileFirstLoginMode": "on",
"trustEmail": false,
"storeToken": false,
"addReadTokenRoleOnCreate": false,
"authenticateByDefault": false,
"linkOnly": false,
"firstBrokerLoginFlowAlias": "first broker login",
"config": {
"clientId": "groups-idp",
"clientSecret": "H0JaTc7VBu3HJR26vrzMxgidfJmgI5Dw",
"userInfoUrl": "http://localhost:8180/realms/master/protocol/openid-connect/userinfo",
"validateSignature": "true",
"tokenUrl": "http://localhost:8180/realms/master/protocol/openid-connect/token",
"jwksUrl": "http://localhost:8180/realms/master/protocol/openid-connect/certs",
"issuer": "http://localhost:8180/realms/master",
"useJwksUrl": "true",
"pkceEnabled": "false",
"metadataDescriptorUrl": "http://localhost:8180/realms/master/.well-known/openid-configuration",
"authorizationUrl": "http://localhost:8180/realms/master/protocol/openid-connect/auth",
"clientAuthMethod": "client_secret_post",
"logoutUrl": "http://localhost:8180/realms/master/protocol/openid-connect/logout"
}
}
]
}