diff --git a/www/apps/resources/app/storefront-development/customers/third-party-login/page.mdx b/www/apps/resources/app/storefront-development/customers/third-party-login/page.mdx index fe6bbc9cff..e2703a2d90 100644 --- a/www/apps/resources/app/storefront-development/customers/third-party-login/page.mdx +++ b/www/apps/resources/app/storefront-development/customers/third-party-login/page.mdx @@ -376,10 +376,6 @@ const validateCallback = async () => { "Authorization": `Bearer ${token}`, "x-publishable-api-key": process.env.NEXT_PUBLIC_MEDUSA_PUBLISHABLE_KEY || "temp", }, - body: JSON.stringify({ - // TODO show form to retrieve email from customer - email: "example@medusajs.com", - }), } ).then((res) => res.json()) } @@ -419,10 +415,6 @@ const validateCallback = async () => { "Authorization": `Bearer ${token}`, "x-publishable-api-key": process.env.NEXT_PUBLIC_MEDUSA_PUBLISHABLE_KEY || "temp", }, - body: JSON.stringify({ - // TODO show form to retrieve email from customer - email: "example@medusajs.com", - }), } ).then((res) => res.json()) @@ -537,10 +529,6 @@ const validateCallback = async () => { "Authorization": `Bearer ${token}`, "x-publishable-api-key": process.env.NEXT_PUBLIC_MEDUSA_PUBLISHABLE_KEY || "temp", }, - body: JSON.stringify({ - // TODO show form to retrieve email from customer - email: "example@medusajs.com", - }), } ).then((res) => res.json()) } @@ -635,10 +623,6 @@ export default function GoogleCallback() { "Authorization": `Bearer ${token}`, "x-publishable-api-key": process.env.NEXT_PUBLIC_MEDUSA_PUBLISHABLE_KEY || "temp", }, - body: JSON.stringify({ - // TODO show form to retrieve email from customer - email: "example@medusajs.com", - }), } ).then((res) => res.json())