@henosia/app-next 1.0.9 → 1.0.10
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.
|
@@ -139,7 +139,7 @@ function routeWithHenosiaAuth(handler) {
|
|
|
139
139
|
try {
|
|
140
140
|
const verified = await verifyHenosiaAuthToken(request);
|
|
141
141
|
payload = verified.payload;
|
|
142
|
-
accessToken = verified.accessTokenResponse.
|
|
142
|
+
accessToken = verified.accessTokenResponse.idToken;
|
|
143
143
|
} catch (error) {
|
|
144
144
|
if (isUnauthorizedException(error)) return unauthorizedResponse();
|
|
145
145
|
console.error(`[Henosia Auth] Unexpected error verifying token for ${request.method} ${request.nextUrl.pathname}`, error);
|
package/package.json
CHANGED