@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 +14 -0
- 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
|
@@ -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
package/package.json
CHANGED
package/sdkVersion.js
CHANGED
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
|
|
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":[]}
|