Merged in feat/sw-1732-trigger-tier-match (pull request #1408)

SW-1732 Trigger SAS tier match

* Add endpoint for SAS tier match

* Add comment about future fix

* Move tier match to background request on my-pages/*

* Log result from tier match

* Clean up name etc

* Fix tier matched toast

Approved-by: Joakim Jäderberg
This commit is contained in:
Anton Gunnarsson
2025-03-13 14:12:31 +00:00
parent 4df5e52a92
commit 29f0eb4f21
13 changed files with 170 additions and 86 deletions

View File

@@ -117,7 +117,14 @@ export async function GET(
/** Record<string, any> is next-auth typings */
const params: Record<string, any> = {
ui_locales: context.params.lang,
scope: ["openid", "profile", "booking", "profile_link", "availability"],
scope: [
"openid",
"profile",
"booking",
"profile_link",
"profile_matchtier",
"availability",
],
/**
* The `acr_values` param is used to make Curity display the proper login
* page for Scandic. Without the parameter Curity presents some choices