Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: do not update refresh token on session refresh, if empty #341

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

jkroepke
Copy link
Owner

@jkroepke jkroepke commented Nov 1, 2024

What this PR does / why we need it

Fixes #338

Which issue this PR fixes

(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #

  • fixes #

Special notes for your reviewer

Particularly user-facing changes

Checklist

Complete these before marking the PR as ready to review:

  • DCO signed
  • The PR title has a summary of the changes
  • The PR body has a summary to reflect any significant (and particularly user-facing) changes introduced by this PR

@jkroepke jkroepke added the 🐞 bug Something isn't working label Nov 1, 2024
Copy link

codecov bot commented Nov 1, 2024

Codecov Report

Attention: Patch coverage is 74.59016% with 31 lines in your changes missing coverage. Please review.

Project coverage is 82.26%. Comparing base (1dc2a22) to head (9c69ee3).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
internal/oauth2/refresh.go 23.52% 10 Missing and 3 partials ⚠️
internal/oauth2/handler.go 45.00% 6 Missing and 5 partials ⚠️
internal/storage/storage.go 58.33% 4 Missing and 1 partial ⚠️
internal/openvpn/client.go 97.01% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #341      +/-   ##
==========================================
- Coverage   82.50%   82.26%   -0.25%     
==========================================
  Files          50       50              
  Lines        3081     3095      +14     
==========================================
+ Hits         2542     2546       +4     
- Misses        408      415       +7     
- Partials      131      134       +3     

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

@jkroepke jkroepke force-pushed the reauth branch 2 times, most recently from 832f50c to 49e962f Compare November 1, 2024 16:46
@jkroepke jkroepke force-pushed the reauth branch 2 times, most recently from 9a3ffd5 to 9fe74b1 Compare November 2, 2024 16:21
Signed-off-by: Jan-Otto Kröpke <[email protected]>
Signed-off-by: Jan-Otto Kröpke <[email protected]>
Signed-off-by: Jan-Otto Kröpke <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing required parameter: refresh_token
1 participant