@tidecloak/create-nextjs 0.14.2 → 0.14.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/init/realm.json +13 -10
- package/init/tcinit.sh +491 -177
- package/package.json +1 -1
- package/template-js-app/init/realm.json +164 -161
- package/template-js-app/init/tcinit.sh +459 -179
- package/template-js-app/package.json +1 -1
- package/template-ts-app/init/realm.json +164 -161
- package/template-ts-app/init/tcinit.sh +459 -179
- package/template-ts-app/package.json +1 -1
- package/template-ts-app/tsconfig.json +1 -1
|
@@ -1,162 +1,165 @@
|
|
|
1
|
-
{
|
|
2
|
-
"realm": "nextjs-test",
|
|
3
|
-
"accessTokenLifespan": 600,
|
|
4
|
-
"enabled": true,
|
|
5
|
-
"sslRequired": "external",
|
|
6
|
-
"registrationAllowed": false,
|
|
7
|
-
"duplicateEmailsAllowed": true,
|
|
8
|
-
"roles": {
|
|
9
|
-
"realm": [
|
|
10
|
-
{
|
|
11
|
-
"name": "appUser",
|
|
12
|
-
"description": "Standard application user"
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
"name": "_tide_message.selfencrypt",
|
|
16
|
-
"description": "Tide E2EE self-encrypt message data"
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
"name": "_tide_message.selfdecrypt",
|
|
20
|
-
"description": "Tide E2EE self-decrypt message data"
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
"name": "default-roles-nextjs-test",
|
|
24
|
-
"description": "${role_default-roles}",
|
|
25
|
-
"composite": true,
|
|
26
|
-
"composites": {
|
|
27
|
-
"realm": [
|
|
28
|
-
"_tide_message.selfencrypt",
|
|
29
|
-
"_tide_message.selfdecrypt",
|
|
30
|
-
"appUser"
|
|
31
|
-
]
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
],
|
|
35
|
-
"client": {
|
|
36
|
-
"myclient": []
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
"defaultRole": {
|
|
40
|
-
"name": "default-roles-nextjs-test",
|
|
41
|
-
"description": "${role_default-roles}",
|
|
42
|
-
"composite": true,
|
|
43
|
-
"clientRole": false
|
|
44
|
-
},
|
|
45
|
-
"clients": [
|
|
46
|
-
{
|
|
47
|
-
"clientId": "myclient",
|
|
48
|
-
"enabled": true,
|
|
49
|
-
"redirectUris": [
|
|
50
|
-
"http://localhost:3000",
|
|
51
|
-
"http://localhost:3000/*",
|
|
52
|
-
"http://localhost:3000/silent-check-sso.html",
|
|
53
|
-
"http://localhost:3000/auth/redirect"
|
|
54
|
-
],
|
|
55
|
-
"webOrigins": [
|
|
56
|
-
"http://localhost:3000"
|
|
57
|
-
],
|
|
58
|
-
"standardFlowEnabled": true,
|
|
59
|
-
"implicitFlowEnabled": false,
|
|
60
|
-
"publicClient": true,
|
|
61
|
-
"fullScopeAllowed": true,
|
|
62
|
-
"
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"claim
|
|
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
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
"
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
"
|
|
131
|
-
"
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
"
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
"
|
|
138
|
-
"
|
|
139
|
-
"
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
"
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
1
|
+
{
|
|
2
|
+
"realm": "nextjs-test",
|
|
3
|
+
"accessTokenLifespan": 600,
|
|
4
|
+
"enabled": true,
|
|
5
|
+
"sslRequired": "external",
|
|
6
|
+
"registrationAllowed": false,
|
|
7
|
+
"duplicateEmailsAllowed": true,
|
|
8
|
+
"roles": {
|
|
9
|
+
"realm": [
|
|
10
|
+
{
|
|
11
|
+
"name": "appUser",
|
|
12
|
+
"description": "Standard application user"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"name": "_tide_message.selfencrypt",
|
|
16
|
+
"description": "Tide E2EE self-encrypt message data"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"name": "_tide_message.selfdecrypt",
|
|
20
|
+
"description": "Tide E2EE self-decrypt message data"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "default-roles-nextjs-test",
|
|
24
|
+
"description": "${role_default-roles}",
|
|
25
|
+
"composite": true,
|
|
26
|
+
"composites": {
|
|
27
|
+
"realm": [
|
|
28
|
+
"_tide_message.selfencrypt",
|
|
29
|
+
"_tide_message.selfdecrypt",
|
|
30
|
+
"appUser"
|
|
31
|
+
]
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"client": {
|
|
36
|
+
"myclient": []
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"defaultRole": {
|
|
40
|
+
"name": "default-roles-nextjs-test",
|
|
41
|
+
"description": "${role_default-roles}",
|
|
42
|
+
"composite": true,
|
|
43
|
+
"clientRole": false
|
|
44
|
+
},
|
|
45
|
+
"clients": [
|
|
46
|
+
{
|
|
47
|
+
"clientId": "myclient",
|
|
48
|
+
"enabled": true,
|
|
49
|
+
"redirectUris": [
|
|
50
|
+
"http://localhost:3000",
|
|
51
|
+
"http://localhost:3000/*",
|
|
52
|
+
"http://localhost:3000/silent-check-sso.html",
|
|
53
|
+
"http://localhost:3000/auth/redirect"
|
|
54
|
+
],
|
|
55
|
+
"webOrigins": [
|
|
56
|
+
"http://localhost:3000"
|
|
57
|
+
],
|
|
58
|
+
"standardFlowEnabled": true,
|
|
59
|
+
"implicitFlowEnabled": false,
|
|
60
|
+
"publicClient": true,
|
|
61
|
+
"fullScopeAllowed": true,
|
|
62
|
+
"attributes": {
|
|
63
|
+
"tide.createdViaConsole": "true"
|
|
64
|
+
},
|
|
65
|
+
"protocolMappers": [
|
|
66
|
+
{
|
|
67
|
+
"name": "Tide User Key",
|
|
68
|
+
"protocol": "openid-connect",
|
|
69
|
+
"protocolMapper": "oidc-usermodel-attribute-mapper",
|
|
70
|
+
"consentRequired": false,
|
|
71
|
+
"config": {
|
|
72
|
+
"introspection.token.claim": "true",
|
|
73
|
+
"userinfo.token.claim": "true",
|
|
74
|
+
"user.attribute": "tideUserKey",
|
|
75
|
+
"lightweight.claim": "true",
|
|
76
|
+
"id.token.claim": "true",
|
|
77
|
+
"access.token.claim": "true",
|
|
78
|
+
"claim.name": "tideuserkey",
|
|
79
|
+
"jsonType.label": "String"
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"name": "Tide vuid",
|
|
84
|
+
"protocol": "openid-connect",
|
|
85
|
+
"protocolMapper": "oidc-usermodel-attribute-mapper",
|
|
86
|
+
"consentRequired": false,
|
|
87
|
+
"config": {
|
|
88
|
+
"introspection.token.claim": "true",
|
|
89
|
+
"userinfo.token.claim": "true",
|
|
90
|
+
"user.attribute": "vuid",
|
|
91
|
+
"lightweight.claim": "true",
|
|
92
|
+
"id.token.claim": "true",
|
|
93
|
+
"access.token.claim": "true",
|
|
94
|
+
"claim.name": "vuid",
|
|
95
|
+
"jsonType.label": "String"
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"name": "audience (self): myclient",
|
|
100
|
+
"protocol": "openid-connect",
|
|
101
|
+
"protocolMapper": "oidc-audience-mapper",
|
|
102
|
+
"config": {
|
|
103
|
+
"included.client.audience": "myclient",
|
|
104
|
+
"access.token.claim": "true",
|
|
105
|
+
"id.token.claim": "false"
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
]
|
|
109
|
+
}
|
|
110
|
+
],
|
|
111
|
+
"components": {
|
|
112
|
+
"org.keycloak.userprofile.UserProfileProvider": [
|
|
113
|
+
{
|
|
114
|
+
"providerId": "declarative-user-profile",
|
|
115
|
+
"config": {
|
|
116
|
+
"kc.user.profile.config": [
|
|
117
|
+
"{\"attributes\":[{\"name\":\"username\",\"displayName\":\"${username}\",\"validations\":{\"length\":{\"min\":3,\"max\":255},\"username-prohibited-characters\":{},\"up-username-not-idn-homograph\":{}},\"permissions\":{\"view\":[\"admin\",\"user\"],\"edit\":[\"admin\",\"user\"]},\"multivalued\":false},{\"name\":\"email\",\"displayName\":\"${email}\",\"validations\":{\"email\":{},\"length\":{\"max\":255}},\"permissions\":{\"view\":[\"admin\",\"user\"],\"edit\":[\"admin\",\"user\"]},\"multivalued\":false},{\"name\":\"firstName\",\"displayName\":\"${firstName}\",\"permissions\":{\"view\":[\"admin\",\"user\"],\"edit\":[\"admin\",\"user\"]},\"multivalued\":false},{\"name\":\"lastName\",\"displayName\":\"${lastName}\",\"permissions\":{\"view\":[\"admin\",\"user\"],\"edit\":[\"admin\",\"user\"]},\"multivalued\":false}],\"groups\":[{\"name\":\"user-metadata\",\"displayHeader\":\"User metadata\",\"displayDescription\":\"Attributes, which refer to user metadata\"}],\"unmanagedAttributePolicy\":\"ENABLED\"}"
|
|
118
|
+
]
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
]
|
|
122
|
+
},
|
|
123
|
+
"authenticationFlows": [
|
|
124
|
+
{
|
|
125
|
+
"alias": "tidebrowser",
|
|
126
|
+
"providerId": "basic-flow",
|
|
127
|
+
"topLevel": true,
|
|
128
|
+
"authenticationExecutions": [
|
|
129
|
+
{
|
|
130
|
+
"authenticator": "auth-cookie",
|
|
131
|
+
"authenticatorFlow": false,
|
|
132
|
+
"requirement": "ALTERNATIVE",
|
|
133
|
+
"priority": 10,
|
|
134
|
+
"userSetupAllowed": false
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"authenticatorConfig": "tide browser",
|
|
138
|
+
"authenticator": "identity-provider-redirector",
|
|
139
|
+
"authenticatorFlow": false,
|
|
140
|
+
"requirement": "ALTERNATIVE",
|
|
141
|
+
"priority": 25,
|
|
142
|
+
"userSetupAllowed": false
|
|
143
|
+
}
|
|
144
|
+
]
|
|
145
|
+
}
|
|
146
|
+
],
|
|
147
|
+
"authenticatorConfig": [
|
|
148
|
+
{
|
|
149
|
+
"alias": "tide browser",
|
|
150
|
+
"config": {
|
|
151
|
+
"defaultProvider": "tide"
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
],
|
|
155
|
+
"browserFlow": "tidebrowser",
|
|
156
|
+
"requiredActions": [
|
|
157
|
+
{
|
|
158
|
+
"alias": "link-tide-account-action",
|
|
159
|
+
"name": "Link Tide Account",
|
|
160
|
+
"providerId": "link-tide-account-action",
|
|
161
|
+
"enabled": true
|
|
162
|
+
}
|
|
163
|
+
],
|
|
164
|
+
"keycloakVersion": "26.1.4"
|
|
162
165
|
}
|