fix: set auth token globally on sdk after login
This commit is contained in:
parent
2140a63add
commit
2402d3e076
|
@ -76,6 +76,7 @@ export class PortalAuthProvider implements RequiredAuthProvider {
|
|||
if (!redirectTo) {
|
||||
redirectTo = ret ? "/dashboard" : "/login";
|
||||
}
|
||||
this._sdk.setAuthToken(this._sdk.account().jwtToken);
|
||||
}
|
||||
|
||||
return {
|
||||
|
|
Loading…
Reference in New Issue