@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.
@@ -12,6 +12,6 @@
12
12
  "next": "16.x",
13
13
  "react": "19.x",
14
14
  "react-dom": "19.x",
15
- "@tidecloak/nextjs": "^0.14.2"
15
+ "@tidecloak/nextjs": "^0.14.7"
16
16
  }
17
17
  }
@@ -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
- "protocolMappers": [
63
- {
64
- "name": "Tide User Key",
65
- "protocol": "openid-connect",
66
- "protocolMapper": "oidc-usermodel-attribute-mapper",
67
- "consentRequired": false,
68
- "config": {
69
- "introspection.token.claim": "true",
70
- "userinfo.token.claim": "true",
71
- "user.attribute": "tideUserKey",
72
- "lightweight.claim": "true",
73
- "id.token.claim": "true",
74
- "access.token.claim": "true",
75
- "claim.name": "tideuserkey",
76
- "jsonType.label": "String"
77
- }
78
- },
79
- {
80
- "name": "Tide IGA Role Mapper",
81
- "protocol": "openid-connect",
82
- "protocolMapper": "tide-roles-mapper",
83
- "consentRequired": false,
84
- "config": {
85
- "lightweight.claim": "true",
86
- "access.token.claim": "true"
87
- }
88
- },
89
- {
90
- "name": "Tide vuid",
91
- "protocol": "openid-connect",
92
- "protocolMapper": "oidc-usermodel-attribute-mapper",
93
- "consentRequired": false,
94
- "config": {
95
- "introspection.token.claim": "true",
96
- "userinfo.token.claim": "true",
97
- "user.attribute": "vuid",
98
- "lightweight.claim": "true",
99
- "id.token.claim": "true",
100
- "access.token.claim": "true",
101
- "claim.name": "vuid",
102
- "jsonType.label": "String"
103
- }
104
- }
105
- ]
106
- }
107
- ],
108
- "components": {
109
- "org.keycloak.userprofile.UserProfileProvider": [
110
- {
111
- "providerId": "declarative-user-profile",
112
- "config": {
113
- "kc.user.profile.config": [
114
- "{\"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\"}"
115
- ]
116
- }
117
- }
118
- ]
119
- },
120
- "authenticationFlows": [
121
- {
122
- "alias": "tidebrowser",
123
- "providerId": "basic-flow",
124
- "topLevel": true,
125
- "authenticationExecutions": [
126
- {
127
- "authenticator": "auth-cookie",
128
- "authenticatorFlow": false,
129
- "requirement": "ALTERNATIVE",
130
- "priority": 10,
131
- "userSetupAllowed": false
132
- },
133
- {
134
- "authenticatorConfig": "tide browser",
135
- "authenticator": "identity-provider-redirector",
136
- "authenticatorFlow": false,
137
- "requirement": "ALTERNATIVE",
138
- "priority": 25,
139
- "userSetupAllowed": false
140
- }
141
- ]
142
- }
143
- ],
144
- "authenticatorConfig": [
145
- {
146
- "alias": "tide browser",
147
- "config": {
148
- "defaultProvider": "tide"
149
- }
150
- }
151
- ],
152
- "browserFlow": "tidebrowser",
153
- "requiredActions": [
154
- {
155
- "alias": "link-tide-account-action",
156
- "name": "Link Tide Account",
157
- "providerId": "link-tide-account-action",
158
- "enabled": true
159
- }
160
- ],
161
- "keycloakVersion": "26.1.4"
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
  }