Update WorkOsAuthProvider.ts
This commit is contained in:
parent
40ffc05c19
commit
645ce026ba
1 changed files with 0 additions and 9 deletions
|
|
@ -207,15 +207,6 @@ export class WorkOsAuthProvider implements AuthenticationProvider, Disposable {
|
|||
removed: [],
|
||||
changed: finalSessions,
|
||||
});
|
||||
|
||||
if (finalSessions[0]?.expiresInMs) {
|
||||
setTimeout(
|
||||
async () => {
|
||||
await this._refreshSessions();
|
||||
},
|
||||
(finalSessions[0].expiresInMs * 2) / 3,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
private async _refreshSession(refreshToken: string): Promise<{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue