From 420bf888204dd6c89116c900d9758a600bbc4259 Mon Sep 17 00:00:00 2001 From: Christel Westerberg Date: Mon, 9 Dec 2024 15:28:59 +0100 Subject: [PATCH] fix: add booking scope for user token --- app/[lang]/(live)/(public)/login/route.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/[lang]/(live)/(public)/login/route.ts b/app/[lang]/(live)/(public)/login/route.ts index 2d91c0d5f..97ed46838 100644 --- a/app/[lang]/(live)/(public)/login/route.ts +++ b/app/[lang]/(live)/(public)/login/route.ts @@ -117,7 +117,7 @@ export async function GET( /** Record is next-auth typings */ const params: Record = { ui_locales: context.params.lang, - scope: ["openid", "profile"], + scope: ["openid", "profile", "booking"], /** * The `acr_values` param is used to make Curity display the proper login * page for Scandic. Without the parameter Curity presents some choices