-
Notifications
You must be signed in to change notification settings - Fork 0
/
keycloak-import.json
121 lines (121 loc) · 4.3 KB
/
keycloak-import.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
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
{
"id": "futulog",
"realm": "futulog",
"enabled": true,
"users": [
{
"username": "service-account-futulog",
"enabled": true,
"serviceAccountClientId": "futulog"
},
{
"username": "testuser1",
"enabled": true,
"email": "testuser1@example.org",
"firstName": "Test",
"lastName": "User1",
"credentials": [
{
"type": "password",
"value": "testuser1"
}
],
"realmRoles": ["user"],
"clientRoles": {
"account": ["view-profile", "manage-account"]
}
},
{
"username": "testuser2",
"enabled": true,
"email": "testuser2@example.org",
"firstName": "Test",
"lastName": "User2",
"credentials": [
{
"type": "password",
"value": "testuser2"
}
],
"realmRoles": ["user"],
"clientRoles": {
"account": ["view-profile", "manage-account"]
}
},
{
"username": "testuser3",
"enabled": true,
"email": "testuser3@example.org",
"firstName": "Test",
"lastName": "User3",
"credentials": [
{
"type": "password",
"value": "testuser3"
}
],
"realmRoles": ["user"],
"clientRoles": {
"account": ["view-profile", "manage-account"]
}
}
],
"clients": [
{
"id": "2e926c3c-05f5-4b73-a060-12b19ca946f2",
"clientId": "futulog",
"baseUrl": "http://localhost:8000/",
"enabled": true,
"clientAuthenticatorType": "client-secret",
"secret": "2a914a74-fcba-491d-8d7c-fcff63b04097",
"redirectUris": ["http://localhost:8000/return", "http://localhost:8000/", "http://localhost:3000/return", "http://localhost:3000/"],
"standardFlowEnabled": true,
"directAccessGrantsEnabled": true,
"serviceAccountsEnabled": true,
"authorizationServicesEnabled": true,
"protocol": "openid-connect",
"authorizationSettings": {
"allowRemoteResourceManagement": true,
"policyEnforcementMode": "ENFORCING",
"resources": [
{
"name": "Default Resource",
"type": "urn:futulog:resources:default",
"ownerManagedAccess": false,
"attributes": {},
"_id": "01d816bc-25fe-420d-a724-4140858307b4",
"uris": ["/*"]
}
],
"policies": [
{
"id": "eaddcbfa-690a-451a-a4a5-3d8be3dca6bb",
"name": "Default Policy",
"description": "A policy that grants access only for users within this realm",
"type": "js",
"logic": "POSITIVE",
"decisionStrategy": "AFFIRMATIVE",
"config": {
"code": "// by default, grants any permission associated with this policy\n$evaluation.grant();\n"
}
},
{
"id": "8a911d7f-105a-40de-8397-041ea8c6a4d2",
"name": "Default Permission",
"description": "A permission that applies to the default resource type",
"type": "resource",
"logic": "POSITIVE",
"decisionStrategy": "UNANIMOUS",
"config": {
"defaultResourceType": "urn:futulog:resources:default",
"applyPolicies": "[\"Default Policy\"]"
}
}
],
"scopes": [],
"decisionStrategy": "UNANIMOUS"
}
}
],
"keycloakVersion": "12.0.4"
}