Skip to content

Commit 2202a66

Browse files
committed
use token store
1 parent c677494 commit 2202a66

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

projects/fusio-sdk/src/lib/component/login/provider/provider.component.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ export class ProviderComponent implements OnInit {
3434
scope: scope || '',
3535
};
3636

37-
const store = new SessionTokenStore();
38-
store.persist(token);
37+
this.fusio.getTokenStore().persist(token);
3938

4039
await this.obtainUserInfo();
4140
} else {

0 commit comments

Comments
 (0)