Set profile_read scope for social login * set profile_read scope Approved-by: Anton Gunnarsson
14 lines
450 B
TypeScript
14 lines
450 B
TypeScript
import "server-only"
|
|
|
|
import { env } from "@/env/server"
|
|
|
|
export const config = {
|
|
issuer: env.CURITY_ISSUER_USER,
|
|
client_id: "whitelabel-sas-social-login",
|
|
client_secret: env.CURITY_CLIENT_SECRET_USER,
|
|
redirect_uri: new URL("/api/web/auth/callback/curity", env.PUBLIC_URL).href,
|
|
acr_values: "urn:com:scandichotels:sas-eb",
|
|
scope: "openid profile_read booking availability availability_whitelabel_get",
|
|
response_type: "code",
|
|
} as const
|