Merged in feature/SW-3505-fetch-eurobonus-points (pull request #2847)

feat(SW-3505): add endpoint for getting eurobonus profile

* feat(SW-3505): add endpoint for getting eurobonus profile

* make sure we add loginType to session

* no need to run zod parsing twice

* Make SAS environment variables mandatory


Approved-by: Anton Gunnarsson
This commit is contained in:
Joakim Jäderberg
2025-09-23 12:13:20 +00:00
parent 8cd6f1d3a5
commit c46e71d76e
6 changed files with 90 additions and 5 deletions

View File

@@ -79,6 +79,7 @@ const config: NextAuthConfig = {
}
: undefined,
token: {
loginType: "sas",
access_token: token.access_token,
expires_at: token.expires_at,
error: token.error,