-
-
Notifications
You must be signed in to change notification settings - Fork 47
/
Copy pathbookshop-realm.json
96 lines (96 loc) · 2.92 KB
/
bookshop-realm.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
{
"id" : "bookshop",
"realm" : "bookshop",
"displayName" : "Bookshop Demo",
"displayNameHtml" : "<div class=\"logo-text\"><span>Bookshop Demo</span></div>",
"enabled" : true,
"registrationAllowed" : true,
"rememberMe" : true,
"resetPasswordAllowed" : true,
"revokeRefreshToken" : false,
"refreshTokenMaxReuse" : 0,
"clients" : [ {
"clientId" : "checkout",
"name": "Bookshop Checkout Application",
"rootUrl": "http://localhost:3000",
"baseUrl": "http://localhost:3000",
"surrogateAuthRequired" : false,
"enabled" : true,
"alwaysDisplayInConsole" : false,
"clientAuthenticatorType" : "client-secret",
"redirectUris": [ "/" ],
"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" : "+",
"use.refresh.tokens" : "true",
"pkce.code.challenge.method" : "S256"
},
"fullScopeAllowed" : true,
"defaultClientScopes" : [ "web-origins", "acr", "profile", "roles", "email", "basic" ],
"optionalClientScopes" : [ "address", "phone", "offline_access", "microprofile-jwt" ]
}, {
"clientId" : "shop",
"name": "Bookshop Webshop Application",
"rootUrl": "http://localhost:8081",
"baseUrl": "http://localhost:8081",
"surrogateAuthRequired" : false,
"enabled" : true,
"alwaysDisplayInConsole" : false,
"clientAuthenticatorType" : "client-secret",
"secret" : "08d171bf-ba03-44db-8279-f678d68021d7",
"redirectUris" : [ "/shop", "http://keycloak:8081/shop" ],
"webOrigins" : [ ],
"notBefore" : 0,
"bearerOnly" : false,
"consentRequired" : false,
"standardFlowEnabled" : true,
"implicitFlowEnabled" : false,
"directAccessGrantsEnabled" : false,
"serviceAccountsEnabled" : true,
"publicClient" : false,
"frontchannelLogout" : false,
"protocol" : "openid-connect",
"attributes" : {
"backchannel.logout.url": "http://bookshop:8081/back-channel-logout",
"post.logout.redirect.uris" : "/index.html",
"use.refresh.tokens" : "true",
"pkce.code.challenge.method" : "S256"
},
"fullScopeAllowed" : true,
"defaultClientScopes" : [ "web-origins", "acr", "profile", "roles", "email", "basic" ],
"optionalClientScopes" : [ "address", "phone", "offline_access", "microprofile-jwt" ]
} ],
"users": [ {
"createdTimestamp": 0,
"username": "service-account-shop",
"enabled": true,
"totp": false,
"emailVerified": false,
"serviceAccountClientId": "shop",
"disableableCredentialTypes": [],
"requiredActions": [],
"notBefore": 0,
"groups": []
} ],
"smtpServer" : {
"starttls" : "",
"auth" : "",
"port" : "1025",
"host" : "mail",
"from" : "bookshop@keycloak.local",
"ssl" : ""
},
"attributes" : {
"acr.loa.map" : "{\"bronze\":\"0\",\"silver\":\"1\",\"gold\":\"2\"}"
}
}