diff --git a/v2/thirdpartypasswordless/serverless/with-aws-lambda/backend-config.mdx b/v2/thirdpartypasswordless/serverless/with-aws-lambda/backend-config.mdx index b7533492e..a333118a3 100644 --- a/v2/thirdpartypasswordless/serverless/with-aws-lambda/backend-config.mdx +++ b/v2/thirdpartypasswordless/serverless/with-aws-lambda/backend-config.mdx @@ -153,8 +153,8 @@ function getBackendConfig() { }] } }], - flowType: "USER_INPUT_CODE_AND_MAGIC_LINK", - contactMethod: "PHONE" + flowType: "^{form_flowType}", + contactMethod: "^{form_contactMethod}" }), Session.init(), ],