@frontegg/nextjs 7.0.8-alpha.4880976643 → 7.0.8
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/CHANGELOG.md +593 -596
- package/index.js +1 -1
- package/package.json +1 -1
- package/sdkVersion.js +1 -1
- package/sdkVersion.js.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,597 +1,594 @@
|
|
|
1
|
-
# Change Log
|
|
2
|
-
|
|
3
|
-
## [7.0.8](https://github.com/frontegg/frontegg-nextjs/compare/v7.0.7...v7.0.8) (2023-5-4)
|
|
4
|
-
|
|
1
|
+
# Change Log
|
|
2
|
+
|
|
3
|
+
## [7.0.8](https://github.com/frontegg/frontegg-nextjs/compare/v7.0.7...v7.0.8) (2023-5-4)
|
|
4
|
+
|
|
5
5
|
- FR-11581 - fix a11y login-box onEnter event for links
|
|
6
|
-
- FR-11353 - add new tree graph component
|
|
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
|
-
- Fixed
|
|
34
|
-
- Fixed
|
|
35
|
-
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
- Added
|
|
46
|
-
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
- FR-
|
|
58
|
-
|
|
59
|
-
- FR-
|
|
60
|
-
- FR-
|
|
61
|
-
- FR-
|
|
62
|
-
- FR-
|
|
63
|
-
- FR-
|
|
64
|
-
- FR-
|
|
65
|
-
- FR-11039 -
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
- FR-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
- FR-
|
|
78
|
-
|
|
79
|
-
- FR-
|
|
80
|
-
- FR-
|
|
81
|
-
- FR-
|
|
82
|
-
- FR-
|
|
83
|
-
- FR-
|
|
84
|
-
- FR-
|
|
85
|
-
- FR-11039 -
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
-
|
|
100
|
-
- `@frontegg/nextjs/
|
|
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
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
```
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
```
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
##
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
-
|
|
364
|
-
-
|
|
365
|
-
-
|
|
366
|
-
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
- Fixed
|
|
375
|
-
-
|
|
376
|
-
-
|
|
377
|
-
- Fixed
|
|
378
|
-
-
|
|
379
|
-
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
- Fixed
|
|
388
|
-
|
|
389
|
-
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
-
|
|
399
|
-
-
|
|
400
|
-
|
|
401
|
-
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
- FR-10557 - Fix
|
|
409
|
-
- FR-10557 -
|
|
410
|
-
- FR-10557 -
|
|
411
|
-
- FR-10557 -
|
|
412
|
-
-
|
|
413
|
-
- FR-10557 -
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
-
|
|
433
|
-
|
|
434
|
-
- FR-
|
|
435
|
-
-
|
|
436
|
-
|
|
437
|
-
- FR-
|
|
438
|
-
- FR-
|
|
439
|
-
- FR-
|
|
440
|
-
- FR-
|
|
441
|
-
- FR-
|
|
442
|
-
- FR-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
- FR-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
-
|
|
455
|
-
|
|
456
|
-
- FR-
|
|
457
|
-
-
|
|
458
|
-
|
|
459
|
-
- FR-
|
|
460
|
-
- FR-
|
|
461
|
-
- FR-
|
|
462
|
-
- FR-
|
|
463
|
-
- FR-
|
|
464
|
-
- FR-
|
|
465
|
-
- FR-
|
|
466
|
-
- FR-
|
|
467
|
-
- FR-
|
|
468
|
-
- FR-
|
|
469
|
-
-
|
|
470
|
-
|
|
471
|
-
- FR-
|
|
472
|
-
-
|
|
473
|
-
|
|
474
|
-
- FR-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
- FR-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
- FR-
|
|
481
|
-
- FR-
|
|
482
|
-
- update
|
|
483
|
-
-
|
|
484
|
-
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
-
|
|
492
|
-
-
|
|
493
|
-
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
-
|
|
510
|
-
-
|
|
511
|
-
-
|
|
512
|
-
- Added
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
-
|
|
521
|
-
|
|
522
|
-
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
•
|
|
528
|
-
•
|
|
529
|
-
•
|
|
530
|
-
• Added
|
|
531
|
-
•
|
|
532
|
-
•
|
|
533
|
-
• Added support for
|
|
534
|
-
•
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
-
|
|
546
|
-
-
|
|
547
|
-
-
|
|
548
|
-
-
|
|
549
|
-
-
|
|
550
|
-
-
|
|
551
|
-
- Fixed
|
|
552
|
-
-
|
|
553
|
-
- Added
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
- Fixed
|
|
564
|
-
- Fixed
|
|
565
|
-
-
|
|
566
|
-
|
|
567
|
-
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
- FR-9186 -
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
### AdminPortal 6.
|
|
577
|
-
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
###
|
|
582
|
-
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
###
|
|
592
|
-
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
- FR-9186 - Fix Changelog
|
|
596
|
-
- FR-9186 - Generate changelog for pre-release / releases based on AdminPortal and LoginBox changes
|
|
597
|
-
|
|
6
|
+
- FR-11353 - add new tree graph component
|
|
7
|
+
|
|
8
|
+
## [7.0.7](https://github.com/frontegg/frontegg-nextjs/compare/v7.0.6...v7.0.7) (2023-4-28)
|
|
9
|
+
|
|
10
|
+
- FR-11564 - Social login button shouldn't inherit from secondary color
|
|
11
|
+
|
|
12
|
+
## [7.0.6](https://github.com/frontegg/frontegg-nextjs/compare/v7.0.5...v7.0.6) (2023-4-27)
|
|
13
|
+
|
|
14
|
+
- Fixed passkeys issue with reCaptcha
|
|
15
|
+
- Removed feature flag from passkeys button
|
|
16
|
+
- Enable loading Frontegg helper scripts by providing query params to Frontegg external source
|
|
17
|
+
- Security upgrade webpack from 5.74.0 to 5.76.0
|
|
18
|
+
|
|
19
|
+
### NextJS Wrapper 7.0.6:
|
|
20
|
+
- FR-11538 - support-next-js-serach-param-for-login-per-tenant
|
|
21
|
+
|
|
22
|
+
## [7.0.5](https://github.com/frontegg/frontegg-nextjs/compare/v7.0.4...v7.0.5) (2023-4-27)
|
|
23
|
+
|
|
24
|
+
- Fixed input hover issue on suffix icon
|
|
25
|
+
- A11y improvements
|
|
26
|
+
- Fixed Passkeys button style
|
|
27
|
+
|
|
28
|
+
## [7.0.4](https://github.com/frontegg/frontegg-nextjs/compare/v7.0.3...v7.0.4) (2023-4-23)
|
|
29
|
+
- Lock reduxjs/toolkit version to be compatible in Vite types plugin
|
|
30
|
+
- Fixed password input placeholder text in the login box
|
|
31
|
+
- Fixed social login buttons order
|
|
32
|
+
- Fix Vite js-sha256 warning
|
|
33
|
+
- Fixed company name error in split mode sign up
|
|
34
|
+
- Fixed phone number dropdown theming
|
|
35
|
+
- Added aria labels to buttons
|
|
36
|
+
|
|
37
|
+
### NextJS Wrapper 7.0.4:
|
|
38
|
+
- FR-11351 - preserve-query-params-for-login-per-tenant
|
|
39
|
+
|
|
40
|
+
## [7.0.3](https://github.com/frontegg/frontegg-nextjs/compare/v7.0.2...v7.0.3) (2023-4-3)
|
|
41
|
+
|
|
42
|
+
- Added support for SCIM groups
|
|
43
|
+
- Updated texts across login box - grammar and terminology
|
|
44
|
+
- Added impersonation indicator to show impersonator that they're in an impersonation session
|
|
45
|
+
- Added passkeys feature
|
|
46
|
+
- NextJS Wrapper 7.0.3:
|
|
47
|
+
|
|
48
|
+
### NextJS Wrapper 7.0.3:
|
|
49
|
+
- FR-11268 - Fix nextjs edge session check
|
|
50
|
+
- FR-11268 - build .env.test file in runtime with random values
|
|
51
|
+
|
|
52
|
+
## [7.0.2](https://github.com/frontegg/frontegg-nextjs/compare/v7.0.1...v7.0.2) (2023-3-29)
|
|
53
|
+
|
|
54
|
+
- FR-11247 - fix version branch 6.82
|
|
55
|
+
|
|
56
|
+
- FR-11065 - add passkeys mock ff
|
|
57
|
+
- FR-11189 - mfa authenticator app change input type
|
|
58
|
+
- FR-10821 - fix table color
|
|
59
|
+
- FR-11204 - add unit testing with jest
|
|
60
|
+
- FR-11139 - fix groups
|
|
61
|
+
- FR-11039 - fix groups dummy
|
|
62
|
+
- FR-11039 - ff groups
|
|
63
|
+
- FR-10530 - fix ff store name
|
|
64
|
+
- FR-11067 - error handling on profile image upload
|
|
65
|
+
- FR-11039 - extend users table with groups column
|
|
66
|
+
|
|
67
|
+
### NextJS Wrapper 7.0.2:
|
|
68
|
+
- FR-11268 - Fix nextjs edge session check
|
|
69
|
+
- FR-11268 - build .env.test file in runtime with random values
|
|
70
|
+
- FE-11268 - Add support for ForceMFA after SAML login
|
|
71
|
+
|
|
72
|
+
## [7.0.1](https://github.com/frontegg/frontegg-nextjs/compare/v7.0.0...v7.0.1) (2023-3-27)
|
|
73
|
+
|
|
74
|
+
- FR-11247 - fix version branch 6.82
|
|
75
|
+
|
|
76
|
+
- FR-11065 - add passkeys mock ff
|
|
77
|
+
- FR-11189 - mfa authenticator app change input type
|
|
78
|
+
- FR-10821 - fix table color
|
|
79
|
+
- FR-11204 - add unit testing with jest
|
|
80
|
+
- FR-11139 - fix groups
|
|
81
|
+
- FR-11039 - fix groups dummy
|
|
82
|
+
- FR-11039 - ff groups
|
|
83
|
+
- FR-10530 - fix ff store name
|
|
84
|
+
- FR-11067 - error handling on profile image upload
|
|
85
|
+
- FR-11039 - extend users table with groups column
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
## [7.0.0](https://github.com/frontegg/frontegg-nextjs/compare/v6.7.20...v7.0.0) (2023-3-16)
|
|
89
|
+
|
|
90
|
+
### Summary
|
|
91
|
+
|
|
92
|
+
In this release, we've introduced several breaking changes that might impact your existing code.
|
|
93
|
+
Please review the changes outlined below and update your code accordingly to ensure compatibility with the new version.
|
|
94
|
+
|
|
95
|
+
### Changes
|
|
96
|
+
- **Folder Hierarchy:** Separate files per runtime environment ( pages / edge / appDirectory)
|
|
97
|
+
- `@frontegg/nextjs/pages` for **pages** architecture.
|
|
98
|
+
- `@frontegg/nextjs/app` for **appDirectory** architecture.
|
|
99
|
+
- `@frontegg/nextjs/edge` for **edge** runtime.
|
|
100
|
+
- `@frontegg/nextjs/middleware` for **api middleware**.
|
|
101
|
+
- **Tree-Shaking:** Build package using babel.js with fully tree-shakable dist folder
|
|
102
|
+
- **Logger:** Add ability for print info logs for debugging.
|
|
103
|
+
- **Improved Error handling:** Improve api middleware error handing.
|
|
104
|
+
- **Node.js 18 Support:** Support the new Undici network handler.
|
|
105
|
+
- **Next.js 13.2 Support:** Next.js route handlers.
|
|
106
|
+
- **Tests:** Add e2e tests for the `FronteggApiMiddleware`.
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
## Migrate from v6 to v7
|
|
110
|
+
|
|
111
|
+
- [Migrate api middleware (tree-shakable, externalResolver, responseLimit)](#frontegg-api-middleware-migration).
|
|
112
|
+
- [Edge middleware Migration (tree-shakable, stability)](#edge-middleware-migration)
|
|
113
|
+
- [Pages architecture (tree-shakable, share logic code between architectures)](#pages-architecture-migration)
|
|
114
|
+
- [AppDir architecture (tree-shakable, stability, support 13.2 routing)](#app-directory-architecture-migration)
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
### Frontegg API middleware migration
|
|
118
|
+
If you are using FronteggProviderNoSSR you can skip this migration:
|
|
119
|
+
1. Rename imports to `@frontegg/nextjs/middleware`
|
|
120
|
+
2. export Next.JS config to mark as externalResolver and disable response limit.
|
|
121
|
+
|
|
122
|
+
**API Middleware (before):**
|
|
123
|
+
```tsx
|
|
124
|
+
export { fronteggMiddleware as default } from '@frontegg/nextjs';
|
|
125
|
+
```
|
|
126
|
+
**API Middleware (after):**
|
|
127
|
+
```tsx
|
|
128
|
+
import { FronteggApiMiddleware } from '@frontegg/nextjs/middleware';
|
|
129
|
+
|
|
130
|
+
export default FronteggApiMiddleware;
|
|
131
|
+
export const config = {
|
|
132
|
+
api: {
|
|
133
|
+
externalResolver: true,
|
|
134
|
+
// https://nextjs.org/docs/messages/api-routes-response-size-limit
|
|
135
|
+
responseLimit: false,
|
|
136
|
+
},
|
|
137
|
+
};
|
|
138
|
+
```
|
|
139
|
+
### Edge middleware migration
|
|
140
|
+
|
|
141
|
+
If you are using nextjs **edge** middleware, (Ex: `middleware.ts`):
|
|
142
|
+
1. Rename the imports to `@frontegg/nextjs/edge`.
|
|
143
|
+
2. Rename `getSession` to `getSessionOnEdge`.
|
|
144
|
+
3. Use `redirectToLogin` method instead of building login url.
|
|
145
|
+
|
|
146
|
+
**API Middleware (before):**
|
|
147
|
+
```tsx
|
|
148
|
+
import { NextResponse } from 'next/server';
|
|
149
|
+
import type { NextRequest } from 'next/server';
|
|
150
|
+
import { getSession, shouldByPassMiddleware } from '@frontegg/nextjs/edge';
|
|
151
|
+
|
|
152
|
+
export const middleware = async (request: NextRequest) => {
|
|
153
|
+
const pathname = request.nextUrl.pathname;
|
|
154
|
+
|
|
155
|
+
if (shouldByPassMiddleware(pathname /*, options: optional bypass configuration */)) {
|
|
156
|
+
return NextResponse.next();
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
const session = await getSession(request);
|
|
160
|
+
if (!session) {
|
|
161
|
+
// redirect unauthenticated user to /account/login page
|
|
162
|
+
const loginUrl = `/account/login?redirectUrl=${encodeURIComponent(pathname)}`;
|
|
163
|
+
return NextResponse.redirect(new URL(loginUrl, process.env['FRONTEGG_APP_URL']));
|
|
164
|
+
}
|
|
165
|
+
return NextResponse.next();
|
|
166
|
+
};
|
|
167
|
+
|
|
168
|
+
export const config = {
|
|
169
|
+
matcher: '/(.*)',
|
|
170
|
+
};
|
|
171
|
+
```
|
|
172
|
+
**API Middleware (after):**
|
|
173
|
+
```tsx
|
|
174
|
+
import { NextResponse } from 'next/server';
|
|
175
|
+
import type { NextRequest } from 'next/server';
|
|
176
|
+
import { getSessionOnEdge, shouldByPassMiddleware, redirectToLogin } from '@frontegg/nextjs/edge';
|
|
177
|
+
|
|
178
|
+
export const middleware = async (request: NextRequest) => {
|
|
179
|
+
const pathname = request.nextUrl.pathname;
|
|
180
|
+
|
|
181
|
+
if (shouldByPassMiddleware(pathname)) {
|
|
182
|
+
return NextResponse.next();
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
const session = await getSessionOnEdge(request);
|
|
186
|
+
if (!session) {
|
|
187
|
+
return redirectToLogin(pathname);
|
|
188
|
+
}
|
|
189
|
+
return NextResponse.next();
|
|
190
|
+
};
|
|
191
|
+
|
|
192
|
+
export const config = {
|
|
193
|
+
matcher: '/(.*)',
|
|
194
|
+
};
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
### Pages architecture migration
|
|
198
|
+
1. Rename imports from `@frontegg/nextjs` to `@frontegg/nextjs/pages`.
|
|
199
|
+
|
|
200
|
+
**Example (before):**
|
|
201
|
+
```tsx
|
|
202
|
+
import { withFronteggApp } from '@frontegg/nextjs';
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
**Example (after):**
|
|
206
|
+
```tsx
|
|
207
|
+
import { withFronteggApp } from '@frontegg/nextjs/pages';
|
|
208
|
+
```
|
|
209
|
+
2. Import and then export `FronteggRouter` in your `pages/[...frontegg-router].tsx` file:
|
|
210
|
+
|
|
211
|
+
**FronteggRouter (before):**
|
|
212
|
+
```tsx
|
|
213
|
+
export {
|
|
214
|
+
FronteggRouter as default,
|
|
215
|
+
FronteggRouterProps as getServerSideProps,
|
|
216
|
+
} from '@frontegg/nextjs';
|
|
217
|
+
```
|
|
218
|
+
**FronteggRouter (after):**
|
|
219
|
+
```tsx
|
|
220
|
+
import { FronteggRouter, FronteggRouterProps } from '@frontegg/nextjs/pages';
|
|
221
|
+
|
|
222
|
+
export const getServerSideProps = FronteggRouterProps;
|
|
223
|
+
export default FronteggRouter;
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
3. import getServerSideProps helpers from `@frontegg/nextjs/pages`:
|
|
227
|
+
|
|
228
|
+
**Example Page (before):**
|
|
229
|
+
```tsx
|
|
230
|
+
import { GetServerSideProps } from 'next';
|
|
231
|
+
import { getSession, withSSRSession } from '@frontegg/nextjs';
|
|
232
|
+
|
|
233
|
+
export default function ExamplePage({ ssrSession }) {
|
|
234
|
+
return <div> My Example Page </div>;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
export const getServerSideProps: GetServerSideProps = async (context) => {
|
|
238
|
+
const session = await getSession(context.req);
|
|
239
|
+
if (session) {
|
|
240
|
+
// logged user
|
|
241
|
+
return { props: { } };
|
|
242
|
+
}
|
|
243
|
+
// unauthorized user
|
|
244
|
+
return { props: { } };
|
|
245
|
+
};
|
|
246
|
+
```
|
|
247
|
+
**Example Page (before):**
|
|
248
|
+
```tsx
|
|
249
|
+
import { GetServerSideProps } from 'next';
|
|
250
|
+
import { getSession, withSSRSession } from '@frontegg/nextjs/pages';
|
|
251
|
+
|
|
252
|
+
export default function ExamplePage({ ssrSession }) {
|
|
253
|
+
return <div> My Example Page </div>;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
export const getServerSideProps: GetServerSideProps = async (context) => {
|
|
257
|
+
const session = await getSession(context.req);
|
|
258
|
+
|
|
259
|
+
// ...
|
|
260
|
+
};
|
|
261
|
+
```
|
|
262
|
+
### App Directory architecture migration
|
|
263
|
+
|
|
264
|
+
1. Rename imports from `@frontegg/nextjs/server` to `@frontegg/nextjs/app`.
|
|
265
|
+
2. Move `FronteggAppProvider` to inside RootLayout's `<body>`:
|
|
266
|
+
|
|
267
|
+
**RootLayout file (before):**
|
|
268
|
+
```tsx
|
|
269
|
+
import { FronteggAppProvider } from '@frontegg/nextjs/server';
|
|
270
|
+
|
|
271
|
+
export default function RootLayout({ children }: { children: React.ReactNode }) {
|
|
272
|
+
const authOptions = {
|
|
273
|
+
// keepSessionAlive: true // Uncomment this in order to maintain the session alive
|
|
274
|
+
}
|
|
275
|
+
return (
|
|
276
|
+
<FronteggAppProvider authOptions={authOptions} hostedLoginBox={true}>
|
|
277
|
+
<html>
|
|
278
|
+
<head></head>
|
|
279
|
+
<body>
|
|
280
|
+
{children}
|
|
281
|
+
</body>
|
|
282
|
+
</html>
|
|
283
|
+
</FronteggAppProvider>
|
|
284
|
+
);
|
|
285
|
+
}
|
|
286
|
+
```
|
|
287
|
+
**RootLayout file (after):**
|
|
288
|
+
```tsx
|
|
289
|
+
import { FronteggAppProvider } from '@frontegg/nextjs/app';
|
|
290
|
+
|
|
291
|
+
export default function RootLayout({ children }: { children: React.ReactNode }) {
|
|
292
|
+
const authOptions = {
|
|
293
|
+
// keepSessionAlive: true // Uncomment this in order to maintain the session alive
|
|
294
|
+
}
|
|
295
|
+
return (
|
|
296
|
+
<html>
|
|
297
|
+
<head></head>
|
|
298
|
+
<body>
|
|
299
|
+
{/* @ts-expect-error Server Component for more details visit: https://github.com/vercel/next.js/issues/42292 */}
|
|
300
|
+
<FronteggAppProvider authOptions={authOptions} hostedLoginBox={true}>
|
|
301
|
+
{children}
|
|
302
|
+
</FronteggAppProvider>
|
|
303
|
+
</body>
|
|
304
|
+
</html>
|
|
305
|
+
);
|
|
306
|
+
}
|
|
307
|
+
```
|
|
308
|
+
3. Export FronteggAppRouter from `@frontegg/nextjs/app`, `app/[...frontegg-router]/page.tsx` file:
|
|
309
|
+
|
|
310
|
+
**FronteggAppRouter (before):**
|
|
311
|
+
```tsx
|
|
312
|
+
export { FronteggAppRouter as default } from '@frontegg/nextjs/client';
|
|
313
|
+
```
|
|
314
|
+
**FronteggAppRouter (after):**
|
|
315
|
+
```tsx
|
|
316
|
+
import { FronteggAppRouter } from '@frontegg/nextjs/app';
|
|
317
|
+
|
|
318
|
+
export default FronteggAppRouter;
|
|
319
|
+
```
|
|
320
|
+
|
|
321
|
+
4. Rename `getSession` and `getUserTokens` to `getAppUserSession` and `getAppUserTokens`:
|
|
322
|
+
|
|
323
|
+
**ServerComponent Example (before):**
|
|
324
|
+
```tsx
|
|
325
|
+
import { getSession, getUserTokens } from '@frontegg/nextjs/app';
|
|
326
|
+
|
|
327
|
+
export const ServerSession = async () => {
|
|
328
|
+
const userSession = await getSession();
|
|
329
|
+
const tokens = await getUserTokens();
|
|
330
|
+
return (
|
|
331
|
+
<div>
|
|
332
|
+
<div>user session server side: {JSON.stringify(userSession)}</div>;
|
|
333
|
+
<div>user tokens server side: {JSON.stringify(tokens)}</div>
|
|
334
|
+
</div>
|
|
335
|
+
);
|
|
336
|
+
};
|
|
337
|
+
```
|
|
338
|
+
|
|
339
|
+
**ServerComponent Example (after):**
|
|
340
|
+
```tsx
|
|
341
|
+
import { getAppUserSession, getAppUserTokens } from '@frontegg/nextjs/app';
|
|
342
|
+
|
|
343
|
+
export const ServerSession = async () => {
|
|
344
|
+
const userSession = await getAppUserSession();
|
|
345
|
+
const tokens = await getAppUserTokens();
|
|
346
|
+
return (
|
|
347
|
+
<div>
|
|
348
|
+
<div>user session server side: {JSON.stringify(userSession)}</div>;
|
|
349
|
+
<div>user tokens server side: {JSON.stringify(tokens)}</div>
|
|
350
|
+
</div>
|
|
351
|
+
);
|
|
352
|
+
};
|
|
353
|
+
```
|
|
354
|
+
|
|
355
|
+
## Further Information
|
|
356
|
+
If you encounter any issues or have questions, please report them on our [Issues](https://github.com/frontegg/frontegg-nextjs/issues) page.
|
|
357
|
+
|
|
358
|
+
## [6.7.20](https://github.com/frontegg/frontegg-nextjs/compare/v6.7.19...v6.7.20) (2023-3-16)
|
|
359
|
+
|
|
360
|
+
- Fixed use permission regex issue to accept a wild card
|
|
361
|
+
- User groups design fixes
|
|
362
|
+
- Fixed passkeys loading mode and login flow with MFA
|
|
363
|
+
- Update dependencies between passkeys and MFA on the privacy page
|
|
364
|
+
- Added support to reset Idle session timeout by post messages from the client iFrame
|
|
365
|
+
- Added an option to enforce redirect URLs to the same site only to avoid security issues
|
|
366
|
+
- Added support for customized social login providers
|
|
367
|
+
|
|
368
|
+
|
|
369
|
+
## [6.7.19](https://github.com/frontegg/frontegg-nextjs/compare/v6.7.18...v6.7.19) (2023-3-10)
|
|
370
|
+
|
|
371
|
+
- Fixed resend OTC with reCaptcha
|
|
372
|
+
- Added support to let tenants create a manage user groups in the admin portal under a FF
|
|
373
|
+
- Added support to login with passkeys and manage passkeys in the admin portal under a FF
|
|
374
|
+
- Fixed invite users issue when the vendor is not forcing roles and permissions
|
|
375
|
+
- Support auth strategy and social logins for login per tenants
|
|
376
|
+
- Refactored feature flag mechanism to be based on rest-api package
|
|
377
|
+
- Fixed validation for postcode in admin portal forms
|
|
378
|
+
- Fixed SMS code input to have input type number
|
|
379
|
+
- Improved auth screens form UX
|
|
380
|
+
|
|
381
|
+
|
|
382
|
+
## [6.7.18](https://github.com/frontegg/frontegg-nextjs/compare/v6.7.17...v6.7.18) (2023-2-21)
|
|
383
|
+
|
|
384
|
+
- Fixed Admin portal SSO provider's options to be correlated with the vendor choice
|
|
385
|
+
- Fixed background for table pivot column
|
|
386
|
+
- Fixed impersonation by removing unnecessary redirects and adding a refresh call
|
|
387
|
+
- Fixed style reorder bug when using @emotion/react and Frontegg Next.JS
|
|
388
|
+
|
|
389
|
+
## [6.7.17](https://github.com/frontegg/frontegg-nextjs/compare/v6.7.16...v6.7.17) (2023-2-8)
|
|
390
|
+
|
|
391
|
+
- Updated M2M tokens to reflect the vendor choice
|
|
392
|
+
|
|
393
|
+
## [6.7.16](https://github.com/frontegg/frontegg-nextjs/compare/v6.7.15...v6.7.16) (2023-2-7)
|
|
394
|
+
|
|
395
|
+
- Fixed go-to-sign-up message position in speedy login layout
|
|
396
|
+
- Added an input component to the library for adding members to a tenant
|
|
397
|
+
- Fix filtering SSO providers according to the vendor selection
|
|
398
|
+
- Added user groups card header component to the library
|
|
399
|
+
- Improved the admin portal and login box performance and bundle size
|
|
400
|
+
|
|
401
|
+
## [6.7.15](https://github.com/frontegg/frontegg-nextjs/compare/v6.7.14...v6.7.15) (2023-2-6)
|
|
402
|
+
|
|
403
|
+
|
|
404
|
+
### NextJS Wrapper 6.7.15:
|
|
405
|
+
- FR-10557 - Fix logout bug, Fix errors in embedded
|
|
406
|
+
- FR-10557 - Improve NextJS navigation
|
|
407
|
+
- FR-10557 - update middleware example code, add option to check if should bypass middleware
|
|
408
|
+
- FR-10557 - Fix url for hosted login refresh token
|
|
409
|
+
- FR-10557 - Fix jose import JWK key
|
|
410
|
+
- FR-10557 - Fix social login embedded mode
|
|
411
|
+
- FR-10557 - Add playwright tests for FornteggMiddleware
|
|
412
|
+
- Bump http-cache-semantics from 4.1.0 to 4.1.1
|
|
413
|
+
- FR-10557 - Add playwright for testing + Fix cookie parsing
|
|
414
|
+
|
|
415
|
+
## [6.7.14](https://github.com/frontegg/frontegg-nextjs/compare/v6.7.13...v6.7.14) (2023-2-1)
|
|
416
|
+
|
|
417
|
+
|
|
418
|
+
### NextJS Wrapper 6.7.14:
|
|
419
|
+
- FR-10557 - Create proxy single request handler instead of handler per request
|
|
420
|
+
|
|
421
|
+
## [6.7.13](https://github.com/frontegg/frontegg-nextjs/compare/v6.7.12...v6.7.13) (2023-1-31)
|
|
422
|
+
|
|
423
|
+
|
|
424
|
+
### NextJS Wrapper 6.7.13:
|
|
425
|
+
- FR-10557 - Bypass session creation if bodyStr is empty
|
|
426
|
+
|
|
427
|
+
## [6.7.12](https://github.com/frontegg/frontegg-nextjs/compare/v6.7.11...v6.7.12) (2023-1-31)
|
|
428
|
+
|
|
429
|
+
- FR-10549 - fix error login with sms
|
|
430
|
+
- FR-10437 - select color
|
|
431
|
+
- FR-10518 - fix client id not show in model
|
|
432
|
+
-
|
|
433
|
+
|
|
434
|
+
- FR-10485 - Update restapi version
|
|
435
|
+
- FR-10017 - add email type to all email inputs
|
|
436
|
+
- FR-10501 - Fix mobile width of login box
|
|
437
|
+
- FR-10196 - Fix scroll in privacy page
|
|
438
|
+
- FR-10489 - update scim ui
|
|
439
|
+
- FR-10483 - Added the option to customize forget password button
|
|
440
|
+
- FR-10374 - improve values ui in split mode
|
|
441
|
+
- FR-10184 - add access tokens
|
|
442
|
+
- FR-9995 - Accept Invitation text and icon change
|
|
443
|
+
|
|
444
|
+
### NextJS Wrapper 6.7.12:
|
|
445
|
+
- FR-10597 - Set default tenants state if not logged in
|
|
446
|
+
- FR-10584 - Set searchParam as optional in FronteggAppRouter
|
|
447
|
+
- FR-10557 - Improve FronteggMiddleware request handler
|
|
448
|
+
|
|
449
|
+
## [6.7.11](https://github.com/frontegg/frontegg-nextjs/compare/v6.7.10...v6.7.11) (2023-1-30)
|
|
450
|
+
|
|
451
|
+
- FR-10549 - fix error login with sms
|
|
452
|
+
- FR-10437 - select color
|
|
453
|
+
- FR-10518 - fix client id not show in model
|
|
454
|
+
-
|
|
455
|
+
|
|
456
|
+
- FR-10485 - Update restapi version
|
|
457
|
+
- FR-10017 - add email type to all email inputs
|
|
458
|
+
- FR-10501 - Fix mobile width of login box
|
|
459
|
+
- FR-10196 - Fix scroll in privacy page
|
|
460
|
+
- FR-10489 - update scim ui
|
|
461
|
+
- FR-10483 - Added the option to customize forget password button
|
|
462
|
+
- FR-10374 - improve values ui in split mode
|
|
463
|
+
- FR-10184 - add access tokens
|
|
464
|
+
- FR-9995 - Accept Invitation text and icon change
|
|
465
|
+
- FR-10261 - fix sign up position in dark theme
|
|
466
|
+
- FR-10369 - change mfa ff name
|
|
467
|
+
- FR-10330 - fixes for bulk
|
|
468
|
+
- FR-9816 - Fix branch selection
|
|
469
|
+
-
|
|
470
|
+
|
|
471
|
+
- FR-10112 - update admin box pipeline angular
|
|
472
|
+
- FR-10141 - update rest-api
|
|
473
|
+
|
|
474
|
+
- FR-9816 - fix version
|
|
475
|
+
|
|
476
|
+
### NextJS Wrapper 6.7.11:
|
|
477
|
+
- FR-10584 - Set searchParam as optional in FronteggAppRouter
|
|
478
|
+
- FR-10557 - Improve FronteggMiddleware request handler
|
|
479
|
+
- update frontegg manually
|
|
480
|
+
- FR-10379 - disable refresh token by default for ssr
|
|
481
|
+
- FR-10141 - Added support for logout on hosted login
|
|
482
|
+
- FR-10342 - update readme for app directory
|
|
483
|
+
- Bump json5 from 1.0.1 to 1.0.2
|
|
484
|
+
- Update Frontegg AdminPortal to 6.58.0
|
|
485
|
+
|
|
486
|
+
## [6.7.10](https://github.com/frontegg/frontegg-nextjs/compare/v6.7.9...v6.7.10) (2023-1-16)
|
|
487
|
+
|
|
488
|
+
- Added support for built-in authenticators, security keys, and SMS as MFA methods
|
|
489
|
+
- Fixed sign up position in dark theme
|
|
490
|
+
- Added margin to login error
|
|
491
|
+
- Disabled silent refresh token for SSR
|
|
492
|
+
- Added support for logout on hosted login
|
|
493
|
+
- Fixed session without keepSessionAlive
|
|
494
|
+
|
|
495
|
+
|
|
496
|
+
## [6.7.9](https://github.com/frontegg/frontegg-nextjs/compare/v6.7.8...v6.7.9) (2022-12-20)
|
|
497
|
+
|
|
498
|
+
- Added support for next 13 - app directory and server components
|
|
499
|
+
- Added support for tree shaking
|
|
500
|
+
- Added support for getSession on edge run time
|
|
501
|
+
- Update iron-session to decrease bundle size
|
|
502
|
+
|
|
503
|
+
|
|
504
|
+
## [6.7.8](https://github.com/frontegg/frontegg-nextjs/compare/v6.7.7...v6.7.8) (2022-12-20)
|
|
505
|
+
|
|
506
|
+
- Fixed mfa input on mobile
|
|
507
|
+
- Enabled scim without roles
|
|
508
|
+
- Fixed menu component for dark theme
|
|
509
|
+
- Added api navigation icon
|
|
510
|
+
- Added tests for mfa
|
|
511
|
+
- Added apple social login types
|
|
512
|
+
- Added support for Hiding Invoices
|
|
513
|
+
|
|
514
|
+
|
|
515
|
+
## [6.7.7](https://github.com/frontegg/frontegg-nextjs/compare/v6.7.6...v6.7.7) (2022-12-13)
|
|
516
|
+
|
|
517
|
+
- Fixed MFA flow issues
|
|
518
|
+
- Added support for subscriptions billing collection
|
|
519
|
+
- Fixed the issue of the OTC screen submit button is disabled on mobile devices
|
|
520
|
+
- Added SCIM section in admin portal under FF
|
|
521
|
+
|
|
522
|
+
## [6.7.6](https://github.com/frontegg/frontegg-nextjs/compare/v6.7.5...v6.7.6) (2022-12-12)
|
|
523
|
+
# v6.7.6
|
|
524
|
+
• Fixed ignoring urlPrefix issue
|
|
525
|
+
• Added the ability to Invite a user by bulk API in the admin portal
|
|
526
|
+
• Fixed OTC digits are not visible on mobile devices
|
|
527
|
+
• Added MFA devices management section in the admin portal under FF
|
|
528
|
+
• Fixed the ability to copy invite link for dynamic base URL as well
|
|
529
|
+
• Added new abilities to MFA flows under FF
|
|
530
|
+
• Added support for providing an external CDN to load fonts in Frontegg components
|
|
531
|
+
• Update hide fields API according to new security tabs naming
|
|
532
|
+
• Changed max length for secret fields to 100 characters
|
|
533
|
+
• Added support for customizing invite user dialog fields
|
|
534
|
+
• Fixed creating custom webhook on the Admin Portal is sent with the event ID and not with the event Key
|
|
535
|
+
|
|
536
|
+
### NextJS Wrapper 6.7.6:
|
|
537
|
+
- Improved SSR support for `withFronteggApp` function
|
|
538
|
+
|
|
539
|
+
## [6.7.5](https://github.com/frontegg/frontegg-nextjs/compare/v6.7.4...v6.7.5) (2022-11-28)
|
|
540
|
+
|
|
541
|
+
# v6.7.5
|
|
542
|
+
- Update hide fields API according to new security tabs naming
|
|
543
|
+
- Changed max length for secret fields to 100 characters
|
|
544
|
+
- Added support for customizing invite user dialog fields
|
|
545
|
+
- Added support for admin portal pre-defined theme options (dark, vivid, modern, and classic themes)
|
|
546
|
+
- Added support for customizing admin portal navigation hover color
|
|
547
|
+
- Fixed typo of Andorra country in countries dropdown
|
|
548
|
+
- Fixed select popup alignment issue
|
|
549
|
+
- Changed no local authentication feature to also hide the sign-up form when there is no local authentication option (use only social logins and SSO for signing up)
|
|
550
|
+
- Added mock for feature flags API for admin portal preview mode
|
|
551
|
+
- Fixed resend invitation and activate your account API calls
|
|
552
|
+
- Fixed creating custom webhook on the Admin Portal is sent with the event ID and not with the event Key
|
|
553
|
+
- Added support for customizing fields and tabs in the admin portal
|
|
554
|
+
|
|
555
|
+
### NextJS Wrapper 6.7.5:
|
|
556
|
+
- Updated next readme to include hosted login box integration
|
|
557
|
+
|
|
558
|
+
## [6.7.4](https://github.com/frontegg/frontegg-nextjs/compare/v6.7.3...v6.7.4) (2022-11-15)
|
|
559
|
+
|
|
560
|
+
- Fixed redirect to the app after signing up without forced email verification
|
|
561
|
+
- Fixed admin portal dark theme
|
|
562
|
+
- Added the ability to customize fields and tabs in the admin portal
|
|
563
|
+
- Fixed cleaning up error messages on sign up page when re-visiting the page
|
|
564
|
+
- Fixed resizing the login box when the logo is null
|
|
565
|
+
- Fix the ReCaptcha timeout issue
|
|
566
|
+
|
|
567
|
+
## [6.7.3](https://github.com/frontegg/frontegg-nextjs/compare/v6.7.2...v6.7.3) (2022-11-11)
|
|
568
|
+
|
|
569
|
+
- FR-9186 - support ssr with session and refresh token
|
|
570
|
+
- FR-9614 - Add support for innerThemeProvider for admin portal pages and tabs
|
|
571
|
+
|
|
572
|
+
- FR-9186 - fix pipeline
|
|
573
|
+
### AdminPortal 6.36.0:
|
|
574
|
+
-
|
|
575
|
+
|
|
576
|
+
### AdminPortal 6.35.0:
|
|
577
|
+
-
|
|
578
|
+
### AdminPortal 6.34.0:
|
|
579
|
+
-
|
|
580
|
+
|
|
581
|
+
### NextJS Wrapper 6.7.3:
|
|
582
|
+
- FR-9544 - remove console logs
|
|
583
|
+
- FR-9544 - Add support for keep session a live
|
|
584
|
+
- FR-9187 - split cookie if exceeds length of 4096
|
|
585
|
+
|
|
586
|
+
## [6.7.2](https://github.com/frontegg/frontegg-nextjs/compare/v6.7.1...v6.7.2) (2022-10-26)
|
|
587
|
+
|
|
588
|
+
### AdminPortal 6.34.0:
|
|
589
|
+
-
|
|
590
|
+
|
|
591
|
+
### NextJS Wrapper 6.7.2:
|
|
592
|
+
- FR-9186 - Fix Changelog
|
|
593
|
+
- FR-9186 - Generate changelog for pre-release / releases based on AdminPortal and LoginBox changes
|
|
594
|
+
|
package/index.js
CHANGED
package/package.json
CHANGED
package/sdkVersion.js
CHANGED
package/sdkVersion.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sdkVersion.js","names":["version","exports","default","_default"],"sources":["../../../packages/nextjs/src/sdkVersion.ts"],"sourcesContent":["export default { version: '7.0.8
|
|
1
|
+
{"version":3,"file":"sdkVersion.js","names":["version","exports","default","_default"],"sources":["../../../packages/nextjs/src/sdkVersion.ts"],"sourcesContent":["export default { version: '7.0.8' };\n"],"mappings":";;;;;;eAAe;EAAEA,OAAO,EAAE;AAAQ,CAAC;AAAAC,OAAA,CAAAC,OAAA,GAAAC,QAAA"}
|