From 4df04948634f2534958f345d082a43a36063fc63 Mon Sep 17 00:00:00 2001 From: Hui Zhao Date: Mon, 13 May 2024 12:59:47 -0700 Subject: [PATCH] f --- packages/adapter-nextjs/src/oauth/utils/initOAuthFlow.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/adapter-nextjs/src/oauth/utils/initOAuthFlow.ts b/packages/adapter-nextjs/src/oauth/utils/initOAuthFlow.ts index 7f6bc1b6c98..278517c5c9c 100644 --- a/packages/adapter-nextjs/src/oauth/utils/initOAuthFlow.ts +++ b/packages/adapter-nextjs/src/oauth/utils/initOAuthFlow.ts @@ -19,6 +19,7 @@ import { NextServer } from '../../types'; import { getRedirectUrl } from './getRedirectUrl'; export const initOAuthFlow = async ({ + origin, request, customState, cognitoUserPoolConfig,