Merged in feat/SW-3461-setup-auth-with-sas-eurobonus (pull request #2825)
Feat/SW-3461 setup auth with sas eurobonus * feat(SW-3461): Setup auth for sas eurobonus * . * feat: setup auth towards SAS * Fix auth via SAS and add logout route * . * merge * auth via SAS * fix powered by scandic logo * Merge branch 'master' of bitbucket.org:scandic-swap/web into feat/SW-3461-setup-auth-with-sas-eurobonus * Include access_token in jwt after successful login * merge Approved-by: Anton Gunnarsson
This commit is contained in:
11
apps/partner-sas/app/api/web/auth/[...nextauth]/route.ts
Normal file
11
apps/partner-sas/app/api/web/auth/[...nextauth]/route.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { GET as DEFAULT_GET, POST as DEFAULT_POST } from "@/auth"
|
||||
|
||||
import type { NextRequest } from "next/server"
|
||||
|
||||
export function GET(req: NextRequest) {
|
||||
return DEFAULT_GET(req)
|
||||
}
|
||||
|
||||
export function POST(req: NextRequest) {
|
||||
return DEFAULT_POST(req)
|
||||
}
|
||||
Reference in New Issue
Block a user