From 2402d3e07622c63576844e33d54b41d942e0a9d1 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Mon, 18 Mar 2024 12:50:26 -0400 Subject: [PATCH] fix: set auth token globally on sdk after login --- app/data/auth-provider.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/app/data/auth-provider.ts b/app/data/auth-provider.ts index 7e1c170..55188b6 100644 --- a/app/data/auth-provider.ts +++ b/app/data/auth-provider.ts @@ -76,6 +76,7 @@ export class PortalAuthProvider implements RequiredAuthProvider { if (!redirectTo) { redirectTo = ret ? "/dashboard" : "/login"; } + this._sdk.setAuthToken(this._sdk.account().jwtToken); } return {