-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrealm.json
More file actions
97 lines (97 loc) · 2.5 KB
/
realm.json
File metadata and controls
97 lines (97 loc) · 2.5 KB
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
{
"realm": "maxstore",
"id": "maxstore",
"displayName": "E Store Max",
"enabled": true,
"loginTheme": "maxstore",
"registrationAllowed": true,
"users": [
{
"username": "admin1",
"enabled": true,
"totp": false,
"emailVerified": true,
"email": "admin@example.com",
"credentials": [
{
"type": "password",
"value": "admin1"
}
],
"attributes": {
"phone": "+1 555 555 5555",
"address": "123 Main St, Anytown, USA",
"dateOfBirth": "1990-01-01",
"preferredLanguage": "en"
},
"realmRoles": ["admin"],
"clientRoles": {
"maxstore-client": ["user", "admin","superAdmin"],
"seller-dashboard-client": ["seller"],
"blog-client": ["blogger"]
}
}
],
"roles": {
"realm": [
{
"name": "admin",
"description": "Administrator"
},
{
"name": "user",
"description": "Regular User"
},
{
"name": "seller",
"description": "Seller"
}
]
},
"clients": [
{
"clientId": "maxstore-client",
"name": "React App Client",
"publicClient": true,
"enabled": true,
"redirectUris": ["http://localhost:3000/*", "maxstore-mobile://Homepage","http://localhost:8081/*"],
"webOrigins": ["http://localhost:3000","http://localhost:8081"],
"protocol": "openid-connect",
"fullScopeAllowed": false,
"attributes": {},
"defaultRoles": ["user"],
"authorizationServicesEnabled": false,
"standardFlowEnabled": true,
"implicitFlowEnabled": false,
"directAccessGrantsEnabled": true
},
{
"clientId": "seller-dashboard-client",
"name": "Seller Dashboard Client",
"enabled": true,
"publicClient": true,
"redirectUris": ["http://localhost:3000/*"],
"protocol": "openid-connect",
"defaultRoles": ["seller"],
"fullScopeAllowed": false,
"authorizationServicesEnabled": true,
"authorizationSettings": {
"policyEnforcementMode": "ENFORCING"
}
},
{
"clientId": "blog-client",
"name": "Blog Client",
"publicClient": true,
"enabled": true,
"redirectUris": ["http://localhost:3000/*"],
"protocol": "openid-connect",
"defaultRoles": ["blogger"],
"fullScopeAllowed": false,
"authorizationServicesEnabled": true,
"authorizationSettings": {
"policyEnforcementMode": "ENFORCING"
}
}
]
}