@frontegg/nextjs 9.2.14-alpha.36564855569 → 9.2.14

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
@@ -3,6 +3,20 @@
3
3
  ## [9.2.14](https://github.com/frontegg/frontegg-nextjs/compare/v9.2.13...v9.2.14) (2026-9-29)
4
4
 
5
5
 
6
+ ### Highlights
7
+
8
+ **Impersonation with Hosted Login and secure JWT** ([#448](https://github.com/frontegg/frontegg-nextjs/pull/448))
9
+
10
+ Impersonation started from the Frontegg portal redirects to the application URL (`{appUrl}?code=...`) instead of `/oauth/callback`, so the Next.js middleware never created the session. To support it, enable the new environment variable:
11
+
12
+ ```
13
+ FRONTEGG_HOSTED_LOGIN_CALLBACK_ON_APP_URL='true'
14
+ ```
15
+
16
+ - Requires `FRONTEGG_SECURE_JWT_ENABLED='true'`.
17
+ - `FRONTEGG_APP_URL` must be identical to the App URL configured in the Frontegg portal.
18
+ - Off by default, so existing apps are not affected.
19
+
6
20
  ### NextJS Wrapper 9.2.14:
7
21
  - fix: accept the hosted login code on the app URL for impersonation
8
22
  - fix: honor authRoutes.hostedLoginRedirectUrl for hosted login callback
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v9.2.14-alpha.36564855569
1
+ /** @license Frontegg v9.2.14
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": "9.2.14-alpha.36564855569",
4
+ "version": "9.2.14",
5
5
  "author": "Frontegg LTD",
6
6
  "license": "MIT",
7
7
  "repository": {
package/sdkVersion.js CHANGED
@@ -5,6 +5,6 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  var _default = exports.default = {
8
- version: '9.2.14-alpha.36564855569'
8
+ version: '9.2.14'
9
9
  };
10
10
  //# sourceMappingURL=sdkVersion.js.map
package/sdkVersion.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"sdkVersion.js","names":["version"],"sources":["../../../packages/nextjs/src/sdkVersion.ts"],"sourcesContent":["export default { version: '9.2.14-alpha.36564855569' };\n"],"mappings":";;;;;;iCAAe;EAAEA,OAAO,EAAE;AAA2B,CAAC","ignoreList":[]}
1
+ {"version":3,"file":"sdkVersion.js","names":["version"],"sources":["../../../packages/nextjs/src/sdkVersion.ts"],"sourcesContent":["export default { version: '9.2.14' };\n"],"mappings":";;;;;;iCAAe;EAAEA,OAAO,EAAE;AAAS,CAAC","ignoreList":[]}