[COMPASS-6900] Clear auth refresh timeout on disconnect Created: 06/Jun/23  Updated: 29/Oct/23  Resolved: 09/Jun/23

Status: Closed
Project: Compass
Component/s: Connectivity
Affects Version/s: None
Fix Version/s: 1.38.0

Type: Task Priority: Minor - P4
Reporter: Rhys Howell Assignee: Anna Henningsen
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: COMPASS-5955
Story Points: 2
Documentation Changes: Not Needed
Sprint: Iteration Dreadnoughtus

 Description   

Here's the `tryRefresh` timeout we should clear on disconnect:
https://github.com/mongodb-js/oidc-plugin/blob/be8e93790d16d82125b053506f9190ee1122c180/src/plugin.ts#L460

The `DevtoolConnectionState` `destroy` is one place clearing it might make sense:
https://github.com/mongodb-js/devtools-connect/blob/0a883296db481aab5c0c4ccbc485062270427521/src/connect.ts#LL222C16-L222C32


Generated at Wed Feb 07 22:44:42 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.