fix: add booking scope for user token

This commit is contained in:
Christel Westerberg
2024-12-09 15:28:59 +01:00
committed by Michael Zetterberg
parent 594a279186
commit 420bf88820

View File

@@ -117,7 +117,7 @@ export async function GET(
/** Record<string, any> is next-auth typings */
const params: Record<string, any> = {
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