diff --git a/accounts/serverless.yml b/accounts/serverless.yml index e91e05d..904b9b0 100644 --- a/accounts/serverless.yml +++ b/accounts/serverless.yml @@ -62,7 +62,7 @@ functions: environment: USER: offen CORS_ORIGIN: https://${self:custom.origin.${self:custom.stage}} - COOKIE_DOMAIN: ${self:custom.origin.${self:custom.stage}} + COOKIE_DOMAIN: ${self:custom.cookieDomain.${self:custom.stage}} JWT_PRIVATE_KEY: '${ssm:/aws/reference/secretsmanager/${self:custom.stage}/accounts/jwtPrivateKey~true}' JWT_PUBLIC_KEY: '${ssm:/aws/reference/secretsmanager/${self:custom.stage}/accounts/jwtPublicKey~true}' HASHED_PASSWORD: ${ssm:/aws/reference/secretsmanager/${self:custom.stage}/accounts/hashedPassword~true}