Skip to content

Fixing an issue where old access_tokens would be used intead of requesting new ones - #7433

Merged
hlshen merged 1 commit into
masterfrom
jh-reauth
Jul 11, 2024
Merged

hlshen merged 1 commit into
masterfrom
jh-reauth

Conversation

@joehan

@joehan joehan commented Jul 11, 2024

Copy link
Copy Markdown
Member

Description

Fixes #7429 - fixies an issue where we would always reuse access_tokens instead of using our refresh tokens to request new ones.

There is probably some more work to be done here in the future - if I'm understanding things correctly, very long running VSCode sessions may get stuck with an old access_token still. We probably want to do some actual expiry checking and grab new tokens based on that.

@joehan
joehan requested a review from hlshen July 11, 2024 16:26
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 20.00000% with 4 lines in your changes missing coverage. Please review.

Project coverage is 53.89%. Comparing base (6039938) to head (e2a9cfd).
Report is 10 commits behind head on master.

Files Patch % Lines
src/requireAuth.ts 0.00% 2 Missing ⚠️
src/auth.ts 50.00% 1 Missing ⚠️
src/command.ts 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7433      +/-   ##
==========================================
+ Coverage   53.82%   53.89%   +0.06%     
==========================================
  Files         388      388              
  Lines       26281    26311      +30     
  Branches     5404     5408       +4     
==========================================
+ Hits        14147    14179      +32     
+ Misses      10866    10861       -5     
- Partials     1268     1271       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@hlshen
hlshen merged commit c6622ca into master Jul 11, 2024
@hlshen
hlshen deleted the jh-reauth branch July 11, 2024 16:42
joehan added a commit that referenced this pull request Jul 11, 2024
* Fixing an issue where old access_tokens would be used intead of requesting new ones

* Changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

firebase CLI auth error in 13.13.1

3 participants