@betterportal/auth-default 10.1.70 → 10.2.1
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/lib/bp-contracts/org.betterportal.auth.default.json +1 -1
- package/lib/plugins/service-betterportal-auth-default/.bp-generated/registry.d.ts +628 -2
- package/lib/plugins/service-betterportal-auth-default/.bp-generated/registry.d.ts.map +1 -1
- package/lib/plugins/service-betterportal-auth-default/.bp-generated/registry.js +2 -2
- package/lib/plugins/service-betterportal-auth-default/.bp-generated/registry.js.map +1 -1
- package/lib/plugins/service-betterportal-auth-default/bp-routes/register/_renderer.bootstrap5/POST.400.d.ts +3 -0
- package/lib/plugins/service-betterportal-auth-default/bp-routes/register/_renderer.bootstrap5/POST.400.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-auth-default/bp-routes/register/_renderer.bootstrap5/POST.400.js +3 -0
- package/lib/plugins/service-betterportal-auth-default/bp-routes/register/_renderer.bootstrap5/POST.400.js.map +1 -0
- package/lib/plugins/service-betterportal-auth-default/index.d.ts.map +1 -1
- package/lib/plugins/service-betterportal-auth-default/index.js +1 -3
- package/lib/plugins/service-betterportal-auth-default/index.js.map +1 -1
- package/lib/schemas/service-betterportal-auth-default.json +1 -1
- package/lib/schemas/service-betterportal-auth-default.plugin.json +1 -1
- package/package.json +4 -4
- package/lib/plugins/service-betterportal-auth-default/bp-routes/register/_renderer.bootstrap5/400.d.ts +0 -7
- package/lib/plugins/service-betterportal-auth-default/bp-routes/register/_renderer.bootstrap5/400.d.ts.map +0 -1
- package/lib/plugins/service-betterportal-auth-default/bp-routes/register/_renderer.bootstrap5/400.js +0 -7
- package/lib/plugins/service-betterportal-auth-default/bp-routes/register/_renderer.bootstrap5/400.js.map +0 -1
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"pluginId": "org.betterportal.auth.default",
|
|
5
5
|
"title": "BetterPortal Default Auth",
|
|
6
6
|
"description": "JWT-issuing auth service (RS256 + JWKS + bcrypt user store).",
|
|
7
|
-
"version": "10.1
|
|
7
|
+
"version": "10.2.1",
|
|
8
8
|
"category": "service",
|
|
9
9
|
"deploymentModes": [
|
|
10
10
|
"self-hosted"
|
|
@@ -1,3 +1,629 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import * as loginBootstrap5PageGET from "../bp-routes/login/_renderer.bootstrap5/GET.js";
|
|
2
|
+
import * as loginBootstrap5NavProfileGET from "../bp-routes/login/_renderer.bootstrap5/_nav.profile.GET.js";
|
|
3
|
+
import * as logoutBootstrap5PageGET from "../bp-routes/logout/_renderer.bootstrap5/GET.js";
|
|
4
|
+
import * as registerBootstrap5PageGET from "../bp-routes/register/_renderer.bootstrap5/GET.js";
|
|
5
|
+
export declare const registry: {
|
|
6
|
+
routes: ({
|
|
7
|
+
viewId: string;
|
|
8
|
+
path: string;
|
|
9
|
+
methods: ("POST" | "GET")[];
|
|
10
|
+
paramNames: never[];
|
|
11
|
+
schemas: {};
|
|
12
|
+
methodRoutes: {
|
|
13
|
+
GET: {
|
|
14
|
+
method: "GET";
|
|
15
|
+
operationId: string;
|
|
16
|
+
title: string;
|
|
17
|
+
description: string;
|
|
18
|
+
schemas: {
|
|
19
|
+
response: import("anyvali").ObjectSchema<{
|
|
20
|
+
status: import("anyvali").EnumSchema<readonly ["ok", "error"]>;
|
|
21
|
+
message: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
22
|
+
accessToken: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
23
|
+
refreshToken: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
24
|
+
expiresInSeconds: import("anyvali").OptionalSchema<import("anyvali").IntSchema>;
|
|
25
|
+
user: import("anyvali").OptionalSchema<import("anyvali").ObjectSchema<{
|
|
26
|
+
id: import("anyvali").StringSchema;
|
|
27
|
+
username: import("anyvali").StringSchema;
|
|
28
|
+
email: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
29
|
+
name: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
30
|
+
}>>;
|
|
31
|
+
requiresFirstAdmin: import("anyvali").OptionalSchema<import("anyvali").BoolSchema>;
|
|
32
|
+
firstAdminUrl: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
33
|
+
alreadyLoggedIn: import("anyvali").OptionalSchema<import("anyvali").BoolSchema>;
|
|
34
|
+
loggedOut: import("anyvali").OptionalSchema<import("anyvali").BoolSchema>;
|
|
35
|
+
logoutUrl: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
36
|
+
nextUrl: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
37
|
+
}>;
|
|
38
|
+
query: import("anyvali").ObjectSchema<{
|
|
39
|
+
action: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
40
|
+
next: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
41
|
+
}>;
|
|
42
|
+
};
|
|
43
|
+
handler: import("@betterportal/framework").RouteHandler<Record<string, string>, {
|
|
44
|
+
action?: string | undefined;
|
|
45
|
+
next?: string | undefined;
|
|
46
|
+
}, Record<string, string>, Record<string, unknown>, {
|
|
47
|
+
status: "ok" | "error";
|
|
48
|
+
message?: string | undefined;
|
|
49
|
+
accessToken?: string | undefined;
|
|
50
|
+
refreshToken?: string | undefined;
|
|
51
|
+
expiresInSeconds?: number | undefined;
|
|
52
|
+
user?: {
|
|
53
|
+
id: string;
|
|
54
|
+
username: string;
|
|
55
|
+
email?: string | undefined;
|
|
56
|
+
name?: string | undefined;
|
|
57
|
+
} | undefined;
|
|
58
|
+
requiresFirstAdmin?: boolean | undefined;
|
|
59
|
+
firstAdminUrl?: string | undefined;
|
|
60
|
+
alreadyLoggedIn?: boolean | undefined;
|
|
61
|
+
loggedOut?: boolean | undefined;
|
|
62
|
+
logoutUrl?: string | undefined;
|
|
63
|
+
nextUrl?: string | undefined;
|
|
64
|
+
}, import("../index.js").Plugin, {
|
|
65
|
+
[x: string]: unknown;
|
|
66
|
+
}>;
|
|
67
|
+
auth: import("@betterportal/framework").ApiAuthRequirement;
|
|
68
|
+
cacheHints: {
|
|
69
|
+
ttlSeconds: number;
|
|
70
|
+
varyBy: string[];
|
|
71
|
+
};
|
|
72
|
+
demoScenarios: never[];
|
|
73
|
+
role: string;
|
|
74
|
+
chrome: {
|
|
75
|
+
[x: string]: string | number | boolean;
|
|
76
|
+
hideMenu?: boolean | undefined;
|
|
77
|
+
hideHeader?: boolean | undefined;
|
|
78
|
+
hideFooter?: boolean | undefined;
|
|
79
|
+
fullScreen?: boolean | undefined;
|
|
80
|
+
};
|
|
81
|
+
dependencies: readonly [{
|
|
82
|
+
readonly operationId: "auth.login";
|
|
83
|
+
readonly method: "POST";
|
|
84
|
+
}, {
|
|
85
|
+
readonly operationId: "auth.logout.view";
|
|
86
|
+
readonly method: "GET";
|
|
87
|
+
}, {
|
|
88
|
+
readonly operationId: "auth.refresh";
|
|
89
|
+
readonly method: "POST";
|
|
90
|
+
}, {
|
|
91
|
+
readonly operationId: "auth.register.view";
|
|
92
|
+
readonly method: "GET";
|
|
93
|
+
}];
|
|
94
|
+
};
|
|
95
|
+
POST: {
|
|
96
|
+
method: "POST";
|
|
97
|
+
operationId: string;
|
|
98
|
+
title: string;
|
|
99
|
+
description: string;
|
|
100
|
+
schemas: {
|
|
101
|
+
response: import("anyvali").ObjectSchema<{
|
|
102
|
+
status: import("anyvali").EnumSchema<readonly ["ok", "error"]>;
|
|
103
|
+
message: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
104
|
+
accessToken: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
105
|
+
refreshToken: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
106
|
+
expiresInSeconds: import("anyvali").OptionalSchema<import("anyvali").IntSchema>;
|
|
107
|
+
user: import("anyvali").OptionalSchema<import("anyvali").ObjectSchema<{
|
|
108
|
+
id: import("anyvali").StringSchema;
|
|
109
|
+
username: import("anyvali").StringSchema;
|
|
110
|
+
email: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
111
|
+
name: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
112
|
+
}>>;
|
|
113
|
+
requiresFirstAdmin: import("anyvali").OptionalSchema<import("anyvali").BoolSchema>;
|
|
114
|
+
firstAdminUrl: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
115
|
+
alreadyLoggedIn: import("anyvali").OptionalSchema<import("anyvali").BoolSchema>;
|
|
116
|
+
loggedOut: import("anyvali").OptionalSchema<import("anyvali").BoolSchema>;
|
|
117
|
+
logoutUrl: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
118
|
+
nextUrl: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
119
|
+
}>;
|
|
120
|
+
query: import("anyvali").ObjectSchema<{
|
|
121
|
+
action: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
122
|
+
next: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
123
|
+
}>;
|
|
124
|
+
request: import("anyvali").ObjectSchema<{
|
|
125
|
+
username: import("anyvali").StringSchema;
|
|
126
|
+
password: import("anyvali").StringSchema;
|
|
127
|
+
next: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
128
|
+
}>;
|
|
129
|
+
headers?: undefined;
|
|
130
|
+
};
|
|
131
|
+
handler: import("@betterportal/framework").RouteHandler<Record<string, string>, {
|
|
132
|
+
action?: string | undefined;
|
|
133
|
+
next?: string | undefined;
|
|
134
|
+
}, Record<string, string>, {
|
|
135
|
+
username: string;
|
|
136
|
+
password: string;
|
|
137
|
+
next?: string | undefined;
|
|
138
|
+
}, {
|
|
139
|
+
status: "ok" | "error";
|
|
140
|
+
message?: string | undefined;
|
|
141
|
+
accessToken?: string | undefined;
|
|
142
|
+
refreshToken?: string | undefined;
|
|
143
|
+
expiresInSeconds?: number | undefined;
|
|
144
|
+
user?: {
|
|
145
|
+
id: string;
|
|
146
|
+
username: string;
|
|
147
|
+
email?: string | undefined;
|
|
148
|
+
name?: string | undefined;
|
|
149
|
+
} | undefined;
|
|
150
|
+
requiresFirstAdmin?: boolean | undefined;
|
|
151
|
+
firstAdminUrl?: string | undefined;
|
|
152
|
+
alreadyLoggedIn?: boolean | undefined;
|
|
153
|
+
loggedOut?: boolean | undefined;
|
|
154
|
+
logoutUrl?: string | undefined;
|
|
155
|
+
nextUrl?: string | undefined;
|
|
156
|
+
}, import("../index.js").Plugin, {
|
|
157
|
+
[x: string]: unknown;
|
|
158
|
+
}>;
|
|
159
|
+
auth: import("@betterportal/framework").ApiAuthRequirement;
|
|
160
|
+
cacheHints: {
|
|
161
|
+
ttlSeconds: number;
|
|
162
|
+
varyBy: string[];
|
|
163
|
+
};
|
|
164
|
+
demoScenarios: never[];
|
|
165
|
+
role: string;
|
|
166
|
+
chrome: {
|
|
167
|
+
[x: string]: string | number | boolean;
|
|
168
|
+
hideMenu?: boolean | undefined;
|
|
169
|
+
hideHeader?: boolean | undefined;
|
|
170
|
+
hideFooter?: boolean | undefined;
|
|
171
|
+
fullScreen?: boolean | undefined;
|
|
172
|
+
};
|
|
173
|
+
};
|
|
174
|
+
};
|
|
175
|
+
handlers: {
|
|
176
|
+
GET: import("@betterportal/framework").RouteHandler<Record<string, string>, {
|
|
177
|
+
action?: string | undefined;
|
|
178
|
+
next?: string | undefined;
|
|
179
|
+
}, Record<string, string>, Record<string, unknown>, {
|
|
180
|
+
status: "ok" | "error";
|
|
181
|
+
message?: string | undefined;
|
|
182
|
+
accessToken?: string | undefined;
|
|
183
|
+
refreshToken?: string | undefined;
|
|
184
|
+
expiresInSeconds?: number | undefined;
|
|
185
|
+
user?: {
|
|
186
|
+
id: string;
|
|
187
|
+
username: string;
|
|
188
|
+
email?: string | undefined;
|
|
189
|
+
name?: string | undefined;
|
|
190
|
+
} | undefined;
|
|
191
|
+
requiresFirstAdmin?: boolean | undefined;
|
|
192
|
+
firstAdminUrl?: string | undefined;
|
|
193
|
+
alreadyLoggedIn?: boolean | undefined;
|
|
194
|
+
loggedOut?: boolean | undefined;
|
|
195
|
+
logoutUrl?: string | undefined;
|
|
196
|
+
nextUrl?: string | undefined;
|
|
197
|
+
}, import("../index.js").Plugin, {
|
|
198
|
+
[x: string]: unknown;
|
|
199
|
+
}>;
|
|
200
|
+
POST: import("@betterportal/framework").RouteHandler<Record<string, string>, {
|
|
201
|
+
action?: string | undefined;
|
|
202
|
+
next?: string | undefined;
|
|
203
|
+
}, Record<string, string>, {
|
|
204
|
+
username: string;
|
|
205
|
+
password: string;
|
|
206
|
+
next?: string | undefined;
|
|
207
|
+
}, {
|
|
208
|
+
status: "ok" | "error";
|
|
209
|
+
message?: string | undefined;
|
|
210
|
+
accessToken?: string | undefined;
|
|
211
|
+
refreshToken?: string | undefined;
|
|
212
|
+
expiresInSeconds?: number | undefined;
|
|
213
|
+
user?: {
|
|
214
|
+
id: string;
|
|
215
|
+
username: string;
|
|
216
|
+
email?: string | undefined;
|
|
217
|
+
name?: string | undefined;
|
|
218
|
+
} | undefined;
|
|
219
|
+
requiresFirstAdmin?: boolean | undefined;
|
|
220
|
+
firstAdminUrl?: string | undefined;
|
|
221
|
+
alreadyLoggedIn?: boolean | undefined;
|
|
222
|
+
loggedOut?: boolean | undefined;
|
|
223
|
+
logoutUrl?: string | undefined;
|
|
224
|
+
nextUrl?: string | undefined;
|
|
225
|
+
}, import("../index.js").Plugin, {
|
|
226
|
+
[x: string]: unknown;
|
|
227
|
+
}>;
|
|
228
|
+
};
|
|
229
|
+
title: string;
|
|
230
|
+
description: string;
|
|
231
|
+
renderers: {
|
|
232
|
+
bootstrap5: {
|
|
233
|
+
pages: ({
|
|
234
|
+
rendererId: string;
|
|
235
|
+
type: "page";
|
|
236
|
+
method: "GET";
|
|
237
|
+
render: typeof loginBootstrap5PageGET.render;
|
|
238
|
+
} | {
|
|
239
|
+
rendererId: string;
|
|
240
|
+
type: "page";
|
|
241
|
+
method: "POST";
|
|
242
|
+
render: typeof loginBootstrap5PageGET.render;
|
|
243
|
+
})[];
|
|
244
|
+
components: never[];
|
|
245
|
+
fragments: {
|
|
246
|
+
rendererId: string;
|
|
247
|
+
type: "fragment";
|
|
248
|
+
method: "GET";
|
|
249
|
+
fragmentLocation: string;
|
|
250
|
+
fragmentId: string;
|
|
251
|
+
render: typeof loginBootstrap5NavProfileGET.render;
|
|
252
|
+
}[];
|
|
253
|
+
};
|
|
254
|
+
};
|
|
255
|
+
statusRenderers?: undefined;
|
|
256
|
+
} | {
|
|
257
|
+
viewId: string;
|
|
258
|
+
path: string;
|
|
259
|
+
methods: ("POST" | "GET")[];
|
|
260
|
+
paramNames: never[];
|
|
261
|
+
schemas: {};
|
|
262
|
+
methodRoutes: {
|
|
263
|
+
GET: {
|
|
264
|
+
method: "GET";
|
|
265
|
+
operationId: string;
|
|
266
|
+
title: string;
|
|
267
|
+
description: string;
|
|
268
|
+
schemas: {
|
|
269
|
+
response: import("anyvali").ObjectSchema<{
|
|
270
|
+
status: import("anyvali").EnumSchema<readonly ["ok"]>;
|
|
271
|
+
message: import("anyvali").StringSchema;
|
|
272
|
+
}>;
|
|
273
|
+
query?: undefined;
|
|
274
|
+
};
|
|
275
|
+
handler: import("@betterportal/framework").RouteHandler<Record<string, string>, Record<string, unknown>, Record<string, string>, Record<string, unknown>, {
|
|
276
|
+
status: "ok";
|
|
277
|
+
message: string;
|
|
278
|
+
}, import("../index.js").Plugin, {
|
|
279
|
+
[x: string]: unknown;
|
|
280
|
+
}>;
|
|
281
|
+
auth: import("@betterportal/framework").ApiAuthRequirement;
|
|
282
|
+
cacheHints: {
|
|
283
|
+
ttlSeconds: number;
|
|
284
|
+
varyBy: string[];
|
|
285
|
+
};
|
|
286
|
+
demoScenarios: never[];
|
|
287
|
+
role: string;
|
|
288
|
+
dependencies: readonly [{
|
|
289
|
+
readonly operationId: "auth.logout";
|
|
290
|
+
readonly method: "POST";
|
|
291
|
+
}];
|
|
292
|
+
chrome?: undefined;
|
|
293
|
+
};
|
|
294
|
+
POST: {
|
|
295
|
+
method: "POST";
|
|
296
|
+
operationId: string;
|
|
297
|
+
title: string;
|
|
298
|
+
description: string;
|
|
299
|
+
schemas: {
|
|
300
|
+
response: import("anyvali").ObjectSchema<{
|
|
301
|
+
status: import("anyvali").EnumSchema<readonly ["ok"]>;
|
|
302
|
+
message: import("anyvali").StringSchema;
|
|
303
|
+
}>;
|
|
304
|
+
query?: undefined;
|
|
305
|
+
request?: undefined;
|
|
306
|
+
headers?: undefined;
|
|
307
|
+
};
|
|
308
|
+
handler: import("@betterportal/framework").RouteHandler<Record<string, string>, Record<string, unknown>, Record<string, string>, Record<string, unknown>, {
|
|
309
|
+
status: "ok";
|
|
310
|
+
message: string;
|
|
311
|
+
}, import("../index.js").Plugin, {
|
|
312
|
+
[x: string]: unknown;
|
|
313
|
+
}>;
|
|
314
|
+
auth: import("@betterportal/framework").ApiAuthRequirement;
|
|
315
|
+
cacheHints: {
|
|
316
|
+
ttlSeconds: number;
|
|
317
|
+
varyBy: string[];
|
|
318
|
+
};
|
|
319
|
+
demoScenarios: never[];
|
|
320
|
+
role: string;
|
|
321
|
+
chrome?: undefined;
|
|
322
|
+
};
|
|
323
|
+
};
|
|
324
|
+
handlers: {
|
|
325
|
+
GET: import("@betterportal/framework").RouteHandler<Record<string, string>, Record<string, unknown>, Record<string, string>, Record<string, unknown>, {
|
|
326
|
+
status: "ok";
|
|
327
|
+
message: string;
|
|
328
|
+
}, import("../index.js").Plugin, {
|
|
329
|
+
[x: string]: unknown;
|
|
330
|
+
}>;
|
|
331
|
+
POST: import("@betterportal/framework").RouteHandler<Record<string, string>, Record<string, unknown>, Record<string, string>, Record<string, unknown>, {
|
|
332
|
+
status: "ok";
|
|
333
|
+
message: string;
|
|
334
|
+
}, import("../index.js").Plugin, {
|
|
335
|
+
[x: string]: unknown;
|
|
336
|
+
}>;
|
|
337
|
+
};
|
|
338
|
+
title: string;
|
|
339
|
+
description: string;
|
|
340
|
+
renderers: {
|
|
341
|
+
bootstrap5: {
|
|
342
|
+
pages: ({
|
|
343
|
+
rendererId: string;
|
|
344
|
+
type: "page";
|
|
345
|
+
method: "GET";
|
|
346
|
+
render: typeof logoutBootstrap5PageGET.render;
|
|
347
|
+
} | {
|
|
348
|
+
rendererId: string;
|
|
349
|
+
type: "page";
|
|
350
|
+
method: "POST";
|
|
351
|
+
render: typeof logoutBootstrap5PageGET.render;
|
|
352
|
+
})[];
|
|
353
|
+
components: never[];
|
|
354
|
+
fragments: never[];
|
|
355
|
+
};
|
|
356
|
+
};
|
|
357
|
+
statusRenderers?: undefined;
|
|
358
|
+
} | {
|
|
359
|
+
viewId: string;
|
|
360
|
+
path: string;
|
|
361
|
+
methods: "POST"[];
|
|
362
|
+
paramNames: never[];
|
|
363
|
+
schemas: {};
|
|
364
|
+
methodRoutes: {
|
|
365
|
+
POST: {
|
|
366
|
+
method: "POST";
|
|
367
|
+
operationId: string;
|
|
368
|
+
title: string;
|
|
369
|
+
description: string;
|
|
370
|
+
schemas: {
|
|
371
|
+
response: import("anyvali").ObjectSchema<{
|
|
372
|
+
status: import("anyvali").EnumSchema<readonly ["ok", "error"]>;
|
|
373
|
+
message: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
374
|
+
accessToken: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
375
|
+
expiresInSeconds: import("anyvali").OptionalSchema<import("anyvali").IntSchema>;
|
|
376
|
+
}>;
|
|
377
|
+
query: import("anyvali").ObjectSchema<{}>;
|
|
378
|
+
headers: import("anyvali").ObjectSchema<{
|
|
379
|
+
"x-bp-refresh": import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
380
|
+
}>;
|
|
381
|
+
request: import("anyvali").ObjectSchema<{
|
|
382
|
+
refreshToken: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
383
|
+
}>;
|
|
384
|
+
};
|
|
385
|
+
handler: import("@betterportal/framework").RouteHandler<Record<string, string>, Record<string, unknown>, {
|
|
386
|
+
"x-bp-refresh"?: string | undefined;
|
|
387
|
+
}, {
|
|
388
|
+
refreshToken?: string | undefined;
|
|
389
|
+
}, {
|
|
390
|
+
status: "ok" | "error";
|
|
391
|
+
message?: string | undefined;
|
|
392
|
+
accessToken?: string | undefined;
|
|
393
|
+
expiresInSeconds?: number | undefined;
|
|
394
|
+
}, import("../index.js").Plugin, {
|
|
395
|
+
[x: string]: unknown;
|
|
396
|
+
}>;
|
|
397
|
+
auth: import("@betterportal/framework").ApiAuthRequirement;
|
|
398
|
+
cacheHints: {
|
|
399
|
+
ttlSeconds: number;
|
|
400
|
+
varyBy: string[];
|
|
401
|
+
};
|
|
402
|
+
demoScenarios: never[];
|
|
403
|
+
role: string;
|
|
404
|
+
chrome?: undefined;
|
|
405
|
+
};
|
|
406
|
+
GET?: undefined;
|
|
407
|
+
};
|
|
408
|
+
handlers: {
|
|
409
|
+
POST: import("@betterportal/framework").RouteHandler<Record<string, string>, Record<string, unknown>, {
|
|
410
|
+
"x-bp-refresh"?: string | undefined;
|
|
411
|
+
}, {
|
|
412
|
+
refreshToken?: string | undefined;
|
|
413
|
+
}, {
|
|
414
|
+
status: "ok" | "error";
|
|
415
|
+
message?: string | undefined;
|
|
416
|
+
accessToken?: string | undefined;
|
|
417
|
+
expiresInSeconds?: number | undefined;
|
|
418
|
+
}, import("../index.js").Plugin, {
|
|
419
|
+
[x: string]: unknown;
|
|
420
|
+
}>;
|
|
421
|
+
GET?: undefined;
|
|
422
|
+
};
|
|
423
|
+
title: string;
|
|
424
|
+
description: string;
|
|
425
|
+
renderers: {
|
|
426
|
+
bootstrap5?: undefined;
|
|
427
|
+
};
|
|
428
|
+
statusRenderers?: undefined;
|
|
429
|
+
} | {
|
|
430
|
+
viewId: string;
|
|
431
|
+
path: string;
|
|
432
|
+
methods: ("POST" | "GET")[];
|
|
433
|
+
paramNames: never[];
|
|
434
|
+
schemas: {};
|
|
435
|
+
methodRoutes: {
|
|
436
|
+
GET: {
|
|
437
|
+
method: "GET";
|
|
438
|
+
operationId: string;
|
|
439
|
+
title: string;
|
|
440
|
+
description: string;
|
|
441
|
+
schemas: {
|
|
442
|
+
response: import("anyvali").ObjectSchema<{
|
|
443
|
+
status: import("anyvali").EnumSchema<readonly ["ok", "error"]>;
|
|
444
|
+
message: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
445
|
+
user: import("anyvali").OptionalSchema<import("anyvali").ObjectSchema<{
|
|
446
|
+
id: import("anyvali").StringSchema;
|
|
447
|
+
username: import("anyvali").StringSchema;
|
|
448
|
+
isFirstAdmin: import("anyvali").BoolSchema;
|
|
449
|
+
}>>;
|
|
450
|
+
registrationOpen: import("anyvali").OptionalSchema<import("anyvali").BoolSchema>;
|
|
451
|
+
loginUrl: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
452
|
+
}>;
|
|
453
|
+
query: import("anyvali").ObjectSchema<{
|
|
454
|
+
next: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
455
|
+
}>;
|
|
456
|
+
};
|
|
457
|
+
handler: import("@betterportal/framework").RouteHandler<Record<string, string>, {
|
|
458
|
+
next?: string | undefined;
|
|
459
|
+
}, Record<string, string>, Record<string, unknown>, {
|
|
460
|
+
status: "ok" | "error";
|
|
461
|
+
message?: string | undefined;
|
|
462
|
+
user?: {
|
|
463
|
+
id: string;
|
|
464
|
+
username: string;
|
|
465
|
+
isFirstAdmin: boolean;
|
|
466
|
+
} | undefined;
|
|
467
|
+
registrationOpen?: boolean | undefined;
|
|
468
|
+
loginUrl?: string | undefined;
|
|
469
|
+
}, import("../index.js").Plugin, {
|
|
470
|
+
[x: string]: unknown;
|
|
471
|
+
}>;
|
|
472
|
+
auth: import("@betterportal/framework").ApiAuthRequirement;
|
|
473
|
+
cacheHints: {
|
|
474
|
+
ttlSeconds: number;
|
|
475
|
+
varyBy: string[];
|
|
476
|
+
};
|
|
477
|
+
demoScenarios: never[];
|
|
478
|
+
role: string;
|
|
479
|
+
chrome: {
|
|
480
|
+
[x: string]: string | number | boolean;
|
|
481
|
+
hideMenu?: boolean | undefined;
|
|
482
|
+
hideHeader?: boolean | undefined;
|
|
483
|
+
hideFooter?: boolean | undefined;
|
|
484
|
+
fullScreen?: boolean | undefined;
|
|
485
|
+
};
|
|
486
|
+
dependencies: readonly [{
|
|
487
|
+
readonly operationId: "auth.register";
|
|
488
|
+
readonly method: "POST";
|
|
489
|
+
}, {
|
|
490
|
+
readonly operationId: "auth.login.view";
|
|
491
|
+
readonly method: "GET";
|
|
492
|
+
}];
|
|
493
|
+
};
|
|
494
|
+
POST: {
|
|
495
|
+
method: "POST";
|
|
496
|
+
operationId: string;
|
|
497
|
+
title: string;
|
|
498
|
+
description: string;
|
|
499
|
+
schemas: {
|
|
500
|
+
response: import("anyvali").ObjectSchema<{
|
|
501
|
+
status: import("anyvali").EnumSchema<readonly ["ok", "error"]>;
|
|
502
|
+
message: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
503
|
+
user: import("anyvali").OptionalSchema<import("anyvali").ObjectSchema<{
|
|
504
|
+
id: import("anyvali").StringSchema;
|
|
505
|
+
username: import("anyvali").StringSchema;
|
|
506
|
+
isFirstAdmin: import("anyvali").BoolSchema;
|
|
507
|
+
}>>;
|
|
508
|
+
registrationOpen: import("anyvali").OptionalSchema<import("anyvali").BoolSchema>;
|
|
509
|
+
loginUrl: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
510
|
+
}>;
|
|
511
|
+
query: import("anyvali").ObjectSchema<{
|
|
512
|
+
next: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
513
|
+
}>;
|
|
514
|
+
request: import("anyvali").ObjectSchema<{
|
|
515
|
+
username: import("anyvali").StringSchema;
|
|
516
|
+
password: import("anyvali").StringSchema;
|
|
517
|
+
email: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
518
|
+
name: import("anyvali").OptionalSchema<import("anyvali").StringSchema>;
|
|
519
|
+
}>;
|
|
520
|
+
headers?: undefined;
|
|
521
|
+
};
|
|
522
|
+
handler: import("@betterportal/framework").RouteHandler<Record<string, string>, {
|
|
523
|
+
next?: string | undefined;
|
|
524
|
+
}, Record<string, string>, {
|
|
525
|
+
username: string;
|
|
526
|
+
password: string;
|
|
527
|
+
email?: string | undefined;
|
|
528
|
+
name?: string | undefined;
|
|
529
|
+
}, {
|
|
530
|
+
status: "ok" | "error";
|
|
531
|
+
message?: string | undefined;
|
|
532
|
+
user?: {
|
|
533
|
+
id: string;
|
|
534
|
+
username: string;
|
|
535
|
+
isFirstAdmin: boolean;
|
|
536
|
+
} | undefined;
|
|
537
|
+
registrationOpen?: boolean | undefined;
|
|
538
|
+
loginUrl?: string | undefined;
|
|
539
|
+
}, import("../index.js").Plugin, {
|
|
540
|
+
[x: string]: unknown;
|
|
541
|
+
}>;
|
|
542
|
+
auth: import("@betterportal/framework").ApiAuthRequirement;
|
|
543
|
+
cacheHints: {
|
|
544
|
+
ttlSeconds: number;
|
|
545
|
+
varyBy: string[];
|
|
546
|
+
};
|
|
547
|
+
demoScenarios: never[];
|
|
548
|
+
role: string;
|
|
549
|
+
chrome: {
|
|
550
|
+
[x: string]: string | number | boolean;
|
|
551
|
+
hideMenu?: boolean | undefined;
|
|
552
|
+
hideHeader?: boolean | undefined;
|
|
553
|
+
hideFooter?: boolean | undefined;
|
|
554
|
+
fullScreen?: boolean | undefined;
|
|
555
|
+
};
|
|
556
|
+
};
|
|
557
|
+
};
|
|
558
|
+
handlers: {
|
|
559
|
+
GET: import("@betterportal/framework").RouteHandler<Record<string, string>, {
|
|
560
|
+
next?: string | undefined;
|
|
561
|
+
}, Record<string, string>, Record<string, unknown>, {
|
|
562
|
+
status: "ok" | "error";
|
|
563
|
+
message?: string | undefined;
|
|
564
|
+
user?: {
|
|
565
|
+
id: string;
|
|
566
|
+
username: string;
|
|
567
|
+
isFirstAdmin: boolean;
|
|
568
|
+
} | undefined;
|
|
569
|
+
registrationOpen?: boolean | undefined;
|
|
570
|
+
loginUrl?: string | undefined;
|
|
571
|
+
}, import("../index.js").Plugin, {
|
|
572
|
+
[x: string]: unknown;
|
|
573
|
+
}>;
|
|
574
|
+
POST: import("@betterportal/framework").RouteHandler<Record<string, string>, {
|
|
575
|
+
next?: string | undefined;
|
|
576
|
+
}, Record<string, string>, {
|
|
577
|
+
username: string;
|
|
578
|
+
password: string;
|
|
579
|
+
email?: string | undefined;
|
|
580
|
+
name?: string | undefined;
|
|
581
|
+
}, {
|
|
582
|
+
status: "ok" | "error";
|
|
583
|
+
message?: string | undefined;
|
|
584
|
+
user?: {
|
|
585
|
+
id: string;
|
|
586
|
+
username: string;
|
|
587
|
+
isFirstAdmin: boolean;
|
|
588
|
+
} | undefined;
|
|
589
|
+
registrationOpen?: boolean | undefined;
|
|
590
|
+
loginUrl?: string | undefined;
|
|
591
|
+
}, import("../index.js").Plugin, {
|
|
592
|
+
[x: string]: unknown;
|
|
593
|
+
}>;
|
|
594
|
+
};
|
|
595
|
+
title: string;
|
|
596
|
+
description: string;
|
|
597
|
+
renderers: {
|
|
598
|
+
bootstrap5: {
|
|
599
|
+
pages: ({
|
|
600
|
+
rendererId: string;
|
|
601
|
+
type: "page";
|
|
602
|
+
method: "GET";
|
|
603
|
+
render: typeof registerBootstrap5PageGET.render;
|
|
604
|
+
} | {
|
|
605
|
+
rendererId: string;
|
|
606
|
+
type: "page";
|
|
607
|
+
method: "POST";
|
|
608
|
+
render: typeof registerBootstrap5PageGET.render;
|
|
609
|
+
})[];
|
|
610
|
+
components: never[];
|
|
611
|
+
fragments: never[];
|
|
612
|
+
};
|
|
613
|
+
};
|
|
614
|
+
statusRenderers: {
|
|
615
|
+
bootstrap5: {
|
|
616
|
+
400: {
|
|
617
|
+
pages: {
|
|
618
|
+
rendererId: string;
|
|
619
|
+
type: "page";
|
|
620
|
+
method: "POST";
|
|
621
|
+
render: typeof registerBootstrap5PageGET.render;
|
|
622
|
+
}[];
|
|
623
|
+
};
|
|
624
|
+
};
|
|
625
|
+
};
|
|
626
|
+
})[];
|
|
627
|
+
shellFragments: never[];
|
|
628
|
+
};
|
|
3
629
|
//# sourceMappingURL=registry.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../../../src/plugins/service-betterportal-auth-default/.bp-generated/registry.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../../../src/plugins/service-betterportal-auth-default/.bp-generated/registry.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,sBAAsB,MAAM,gDAAgD,CAAC;AAEzF,OAAO,KAAK,4BAA4B,MAAM,6DAA6D,CAAC;AAI5G,OAAO,KAAK,uBAAuB,MAAM,iDAAiD,CAAC;AAO3F,OAAO,KAAK,yBAAyB,MAAM,mDAAmD,CAAC;AAK/F,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmGW,CAAC"}
|
|
@@ -15,8 +15,8 @@ import * as refreshPOSTRoute from "../bp-routes/refresh/POST.js";
|
|
|
15
15
|
import * as registerRoute from "../bp-routes/register/index.js";
|
|
16
16
|
import * as registerGETRoute from "../bp-routes/register/GET.js";
|
|
17
17
|
import * as registerPOSTRoute from "../bp-routes/register/POST.js";
|
|
18
|
-
import * as registerBootstrap5PageS400 from "../bp-routes/register/_renderer.bootstrap5/400.js";
|
|
19
18
|
import * as registerBootstrap5PageGET from "../bp-routes/register/_renderer.bootstrap5/GET.js";
|
|
19
|
+
import * as registerBootstrap5PagePOSTS400 from "../bp-routes/register/_renderer.bootstrap5/POST.400.js";
|
|
20
20
|
import * as registerBootstrap5PagePOST from "../bp-routes/register/_renderer.bootstrap5/POST.js";
|
|
21
21
|
export const registry = {
|
|
22
22
|
routes: [
|
|
@@ -110,7 +110,7 @@ export const registry = {
|
|
|
110
110
|
},
|
|
111
111
|
statusRenderers: {
|
|
112
112
|
"bootstrap5": {
|
|
113
|
-
400: { pages: [{ rendererId: "default", type: "page", render:
|
|
113
|
+
400: { pages: [{ rendererId: "default", type: "page", method: "POST", render: registerBootstrap5PagePOSTS400.render }] }
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
116
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registry.js","sourceRoot":"","sources":["../../../../src/plugins/service-betterportal-auth-default/.bp-generated/registry.ts"],"names":[],"mappings":"AAAA,uDAAuD;AACvD,OAAO,KAAK,UAAU,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,aAAa,MAAM,2BAA2B,CAAC;AAC3D,OAAO,KAAK,cAAc,MAAM,4BAA4B,CAAC;AAC7D,OAAO,KAAK,sBAAsB,MAAM,gDAAgD,CAAC;AACzF,OAAO,KAAK,uBAAuB,MAAM,iDAAiD,CAAC;AAC3F,OAAO,KAAK,4BAA4B,MAAM,6DAA6D,CAAC;AAC5G,OAAO,KAAK,WAAW,MAAM,8BAA8B,CAAC;AAC5D,OAAO,KAAK,cAAc,MAAM,4BAA4B,CAAC;AAC7D,OAAO,KAAK,eAAe,MAAM,6BAA6B,CAAC;AAC/D,OAAO,KAAK,uBAAuB,MAAM,iDAAiD,CAAC;AAC3F,OAAO,KAAK,wBAAwB,MAAM,kDAAkD,CAAC;AAC7F,OAAO,KAAK,YAAY,MAAM,+BAA+B,CAAC;AAC9D,OAAO,KAAK,gBAAgB,MAAM,8BAA8B,CAAC;AACjE,OAAO,KAAK,aAAa,MAAM,gCAAgC,CAAC;AAChE,OAAO,KAAK,gBAAgB,MAAM,8BAA8B,CAAC;AACjE,OAAO,KAAK,iBAAiB,MAAM,+BAA+B,CAAC;AACnE,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"registry.js","sourceRoot":"","sources":["../../../../src/plugins/service-betterportal-auth-default/.bp-generated/registry.ts"],"names":[],"mappings":"AAAA,uDAAuD;AACvD,OAAO,KAAK,UAAU,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,aAAa,MAAM,2BAA2B,CAAC;AAC3D,OAAO,KAAK,cAAc,MAAM,4BAA4B,CAAC;AAC7D,OAAO,KAAK,sBAAsB,MAAM,gDAAgD,CAAC;AACzF,OAAO,KAAK,uBAAuB,MAAM,iDAAiD,CAAC;AAC3F,OAAO,KAAK,4BAA4B,MAAM,6DAA6D,CAAC;AAC5G,OAAO,KAAK,WAAW,MAAM,8BAA8B,CAAC;AAC5D,OAAO,KAAK,cAAc,MAAM,4BAA4B,CAAC;AAC7D,OAAO,KAAK,eAAe,MAAM,6BAA6B,CAAC;AAC/D,OAAO,KAAK,uBAAuB,MAAM,iDAAiD,CAAC;AAC3F,OAAO,KAAK,wBAAwB,MAAM,kDAAkD,CAAC;AAC7F,OAAO,KAAK,YAAY,MAAM,+BAA+B,CAAC;AAC9D,OAAO,KAAK,gBAAgB,MAAM,8BAA8B,CAAC;AACjE,OAAO,KAA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kE,EAAE,EAAE,EAAE,UAAU,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAG,0BAA0B,CAAC,MAAmE,EAAE,CAAC;oBACxU,UAAU,EAAE,EAAE;oBACd,SAAS,EAAE,EAAE;iBACd;aACF;YACD,eAAe,EAAE;gBACf,YAAY,EAAE;oBACZ,GAAG,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,UAAU,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAG,8BAA8B,CAAC,MAAmE,EAAE,CAAC,EAAE;iBACvL;aACF;SACF;KACF;IACD,cAAc,EAAE,EACf;CAC6B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"POST.400.d.ts","sourceRoot":"","sources":["../../../../../../src/plugins/service-betterportal-auth-default/bp-routes/register/_renderer.bootstrap5/POST.400.tsx"],"names":[],"mappings":"AAAA,kDAAkD;AAClD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"POST.400.js","sourceRoot":"","sources":["../../../../../../src/plugins/service-betterportal-auth-default/bp-routes/register/_renderer.bootstrap5/POST.400.tsx"],"names":[],"mappings":"AAAA,kDAAkD;AAClD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/plugins/service-betterportal-auth-default/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,qBAAqB,EAG1B,KAAK,UAAU,EAChB,MAAM,WAAW,CAAC;AACnB,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAE9B,OAAO,EAEL,SAAS,EACT,KAAK,mBAAmB,EACzB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAIL,KAAK,aAA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AO,CAAC,SAAS,CAAa;gBAElB,GAAG,EAAE,qBAAqB,CAAC,YAAY,CAAC,OAAO,MAAM,CAAC,EAAE,OAAO,YAAY,CAAC;IAIxF,SAAS,CAAC,UAAU,IAAI,mBAAmB;IAWrC,IAAI,CAAC,GAAG,EAAE,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC;IAuB1C,IAAI,OAAO,IAAI,WAAW,CAOzB;IAED;;;OAGG;IACH,SAAS,CAAC,cAAc,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,WAAW,GAAG,SAAS;cAIpE,iBAAiB,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAQhG,OAAO,CAAC,WAAW;CASpB;AAED,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,CAAC"}
|
|
@@ -4,7 +4,6 @@ import { resolve } from "node:path";
|
|
|
4
4
|
import { BetterPortalConfigSchema, BPService } from "@betterportal/plugin-bsb";
|
|
5
5
|
import { createBpTokenIssuer, loadOrGenerateKeyPair, publicKeyToJwk } from "@betterportal/framework";
|
|
6
6
|
import { UserStore } from "../../userStore.js";
|
|
7
|
-
import { registry } from "./.bp-generated/registry.js";
|
|
8
7
|
const PluginConfigSchema = av.object({
|
|
9
8
|
host: av.string().minLength(1).default("0.0.0.0"),
|
|
10
9
|
port: av.int().min(1).default(3210),
|
|
@@ -46,8 +45,7 @@ export class Plugin extends BPService {
|
|
|
46
45
|
title: "BetterPortal Default Auth",
|
|
47
46
|
description: "JWT-issuing auth service (RS256 + JWKS + bcrypt user store).",
|
|
48
47
|
capabilities: ["auth"]
|
|
49
|
-
}
|
|
50
|
-
registry
|
|
48
|
+
}
|
|
51
49
|
};
|
|
52
50
|
}
|
|
53
51
|
async init(obs) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/plugins/service-betterportal-auth-default/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,kBAAkB,EAClB,kBAAkB,EAEnB,MAAM,WAAW,CAAC;AACnB,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAC9B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EACL,wBAAwB,EACxB,SAAS,EAEV,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,mBAAmB,EACnB,qBAAqB,EACrB,cAAc,EAKf,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/plugins/service-betterportal-auth-default/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,kBAAkB,EAClB,kBAAkB,EAEnB,MAAM,WAAW,CAAC;AACnB,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAC9B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EACL,wBAAwB,EACxB,SAAS,EAEV,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,mBAAmB,EACnB,qBAAqB,EACrB,cAAc,EAKf,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAE/C,MAAM,kBAAkB,GAAG,EAAE,CAAC,MAAM,CAAC;IACnC,IAAI,EAAE,EAAE,CAAC,MAAM,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC;IACjD,IAAI,EAAE,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;IACnC,MAAM,EAAE,EAAE,CAAC,MAAM,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC;IAChC,QAAQ,EAAE,EAAE,CAAC,MAAM,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,sBAAsB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E,IAAI,CAAC,SAAS;YACzB,kBAAkB,EAAE,IAAI,CAAC,MAAM,CAAC,kBAAkB;YAClD,mBAAmB,EAAE,IAAI,CAAC,MAAM,CAAC,mBAAmB;SACrD,CAAC;IACJ,CAAC;IAED;;;OAGG;IACO,cAAc,CAAC,SAAiB,EAAE,MAAc;QACxD,OAAO,IAAI,CAAC,WAAW,EAAE,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;IAC/C,CAAC;IAES,KAAK,CAAC,iBAAiB,CAAC,QAAgB,EAAE,KAAa;QAC/D,IAAI,MAAM,IAAI,CAAC,mBAAmB,CAAC,QAAQ,EAAE,KAAK,CAAC;YAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;QAC9E,OAAO;YACL,OAAO,EAAE,KAAK;YACd,MAAM,EAAE,oDAAoD,QAAQ,QAAQ,KAAK,GAAG;SACrF,CAAC;IACJ,CAAC;IAEO,WAAW;QACjB,OAAO,mBAAmB,CAAC;YACzB,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,MAAM;YAC1B,QAAQ,EAAE,IAAI,CAAC,MAAM,CAAC,QAAQ;YAC9B,kBAAkB,EAAE,IAAI,CAAC,MAAM,CAAC,kBAAkB;YAClD,mBAAmB,EAAE,IAAI,CAAC,MAAM,CAAC,mBAAmB;SACrD,CAAC,CAAC;IACL,CAAC;;AAGH,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "service-betterportal-auth-default",
|
|
3
3
|
"name": "service-betterportal-auth-default",
|
|
4
|
-
"version": "10.1
|
|
4
|
+
"version": "10.2.1",
|
|
5
5
|
"description": "Default BetterPortal v10 auth service: JWKS, login/logout/refresh, bcrypt user store",
|
|
6
6
|
"category": "service",
|
|
7
7
|
"tags": [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@betterportal/auth-default",
|
|
3
|
-
"version": "10.1
|
|
3
|
+
"version": "10.2.1",
|
|
4
4
|
"description": "BetterPortal v10 default auth service for Node.js",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "src/index.ts",
|
|
@@ -35,9 +35,9 @@
|
|
|
35
35
|
"typescript": "^6.0.3"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@betterportal/framework": "10.1
|
|
39
|
-
"@betterportal/plugin-bsb": "10.1
|
|
40
|
-
"@bsb/base": "^9.6.
|
|
38
|
+
"@betterportal/framework": "10.2.1",
|
|
39
|
+
"@betterportal/plugin-bsb": "10.2.1",
|
|
40
|
+
"@bsb/base": "^9.6.72",
|
|
41
41
|
"anyvali": "^1.0.7",
|
|
42
42
|
"bcrypt": "^6.0.0",
|
|
43
43
|
"jsx-htmx": "4.0.0-beta6"
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 400 status view for register POST failures (duplicate user, weak input, no
|
|
3
|
-
* context). Same renderer as the main view - it re-renders the form with the
|
|
4
|
-
* error message so the response swaps into #bp-main like any other view.
|
|
5
|
-
*/
|
|
6
|
-
export { render } from "./GET.js";
|
|
7
|
-
//# sourceMappingURL=400.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"400.d.ts","sourceRoot":"","sources":["../../../../../../src/plugins/service-betterportal-auth-default/bp-routes/register/_renderer.bootstrap5/400.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC"}
|
package/lib/plugins/service-betterportal-auth-default/bp-routes/register/_renderer.bootstrap5/400.js
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 400 status view for register POST failures (duplicate user, weak input, no
|
|
3
|
-
* context). Same renderer as the main view - it re-renders the form with the
|
|
4
|
-
* error message so the response swaps into #bp-main like any other view.
|
|
5
|
-
*/
|
|
6
|
-
export { render } from "./GET.js";
|
|
7
|
-
//# sourceMappingURL=400.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"400.js","sourceRoot":"","sources":["../../../../../../src/plugins/service-betterportal-auth-default/bp-routes/register/_renderer.bootstrap5/400.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC"}
|