From 01211b1147ddbde44998d0498c30e34cbf178371 Mon Sep 17 00:00:00 2001 From: Ilya Bogdanov Date: Fri, 20 Dec 2024 20:11:51 +0400 Subject: [PATCH] Fix login issue by NOT using cognito auth endpoint --- app/gui/src/dashboard/authentication/service.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/gui/src/dashboard/authentication/service.ts b/app/gui/src/dashboard/authentication/service.ts index 97c1d248aadb..0394eb6bc8a7 100644 --- a/app/gui/src/dashboard/authentication/service.ts +++ b/app/gui/src/dashboard/authentication/service.ts @@ -82,7 +82,9 @@ export interface NestedAmplifyConfig { export function toNestedAmplifyConfig(config: AmplifyConfig): NestedAmplifyConfig { return { region: config.region, - endpoint: config.endpoint, + // endpoint: config.endpoint, + // TODO: Use the endpoint when it is working. + endpoint: undefined, userPoolId: config.userPoolId, userPoolWebClientId: config.userPoolWebClientId, oauth: {