From bd511a625596856ea2b20af1d0c1303ecaee4887 Mon Sep 17 00:00:00 2001 From: Armaan Jain <84474476+Developing-Gamer@users.noreply.github.com> Date: Tue, 23 Jun 2026 10:30:54 -0700 Subject: [PATCH] fix(sdk): bypass urls proxy in internal SDK methods for hosted components (#1641) --- .../apps/implementations/client-app-impl.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/template/src/lib/hexclave-app/apps/implementations/client-app-impl.ts b/packages/template/src/lib/hexclave-app/apps/implementations/client-app-impl.ts index f6e789a0f..740265774 100644 --- a/packages/template/src/lib/hexclave-app/apps/implementations/client-app-impl.ts +++ b/packages/template/src/lib/hexclave-app/apps/implementations/client-app-impl.ts @@ -376,7 +376,7 @@ export class _HexclaveClientAppImplIncomplete> { - return await this._interface.sendForgotPasswordEmail(email, options?.callbackUrl ?? constructRedirectUrl(this.urls.passwordReset, "callbackUrl")); + return await this._interface.sendForgotPasswordEmail(email, options?.callbackUrl ?? constructRedirectUrl(this._getUrls().passwordReset, "callbackUrl")); } async sendMagicLinkEmail(email: string, options?: { callbackUrl?: string, }): Promise> { - const callbackUrl = options?.callbackUrl ?? constructRedirectUrl(this.urls.magicLinkCallback, "callbackUrl"); + const callbackUrl = options?.callbackUrl ?? constructRedirectUrl(this._getUrls().magicLinkCallback, "callbackUrl"); return await this._executeResultWithBotChallengeFlow({ action: "send_magic_link_email", execute: async (challenge) => { @@ -3455,7 +3455,7 @@ export class _HexclaveClientAppImplIncomplete { let result = await this._interface.signUpWithCredential( @@ -3738,7 +3738,7 @@ export class _HexclaveClientAppImplIncomplete