From ecee6d34db02a544bf5ac7b11419f47679dd44a8 Mon Sep 17 00:00:00 2001 From: Stivenjs Date: Fri, 9 May 2025 17:16:11 -0500 Subject: [PATCH] feat(auth): add production URLs to callback and logout URLs This commit adds the production URL 'https://www.fasttify.com/' to both the callback and logout URLs in the auth configuration, ensuring seamless authentication flow in the production environment. --- amplify/auth/resource.ts | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/amplify/auth/resource.ts b/amplify/auth/resource.ts index a30268c1..fe6206dc 100644 --- a/amplify/auth/resource.ts +++ b/amplify/auth/resource.ts @@ -32,8 +32,16 @@ export const auth = defineAuth({ }, }, - callbackUrls: ['http://localhost:3000', 'https://www.dev.fasttify.com/'], - logoutUrls: ['http://localhost:3000/login', 'https://www.dev.fasttify.com/login'], + callbackUrls: [ + 'http://localhost:3000', + 'https://www.dev.fasttify.com/', + 'https://www.fasttify.com/', + ], + logoutUrls: [ + 'http://localhost:3000/login', + 'https://www.dev.fasttify.com/login', + 'https://www.fasttify.com/login', + ], }, },