-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample_config.js
69 lines (68 loc) · 1.65 KB
/
example_config.js
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
module.exports = {
"settings": {
"baseUrl": "http://keycloak:8080/auth",
"auth" : {
"username": "keycloak",
"password": "keycloak",
"grantType": "password",
"clientId": "admin-cli"
}
},
"realms": [
{
"payload": {
"realm": "example_realm"
},
"roles": [
{
"payload": {
"name": "example_realm_role_1"
},
},
{
"payload": {
"name": "example_realm_role_2"
}
}
],
"clients": [
{
"payload": {
"clientId": "example_client",
"secret": "example_client_secret",
"redirectUris": [
"/callback/*",
"http://localhost/callback/*"
]
},
"roles": [{ "name": "example_client_role_1" }, { "name": "example_client_role_2" }]
}
],
"groups": [
{
"payload": {
"name": "example_group"
},
"clientRoles": [{ "clientId": "example_client", "name": "example_client_role_1"}],
"realmRoles": [{ "name": "example_realm_role_1"}]
}
],
"users": [
{
"payload": {
"username": "example_user_1",
"enabled": true,
"credentials": [{
"type": "password",
"temporary": false,
"value": "password"
}]
},
"groups": ["example_group"],
"clientRoles": [{ "clientId": "example_client", "name": "example_client_role_2"}],
"realmRoles": [{ "name": "example_realm_role_2"}]
}
]
}
]
};