iTwin / auth-clients

MIT License
6 stars 3 forks source link

electron-auth: Expiry buffer not in sync between main and renderer clients #232

Closed GintV closed 3 months ago

GintV commented 4 months ago

In ElectronMainAuthorization, _hasExpired uses _expiryBuffer (defaults to 10 min ) to "expire" token. But in ElectronRendererAuthorization, _hasExpired has 1 min hardcoded as expiration time. Shouldn't these be in sync with one another?