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