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

Add endpoint for JWT refresh tokens #3270

Open
wants to merge 1 commit into
base: jwt-refresh-token-model
Choose a base branch
from

Conversation

stveit
Copy link
Contributor

@stveit stveit commented Jan 29, 2025

Adds API endpoint for JWT refresh token. It accepts valid refresh tokens and returns an access token and a new refresh token while invalidating the old one.

@stveit stveit added the JWT label Jan 29, 2025
@stveit stveit self-assigned this Jan 29, 2025
Copy link

github-actions bot commented Jan 29, 2025

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ PYTHON black 6 0 0.8s
✅ PYTHON ruff 6 0 0.01s

See detailed report in MegaLinter reports
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

MegaLinter is graciously provided by OX Security

Copy link

github-actions bot commented Jan 29, 2025

Test results

    9 files      9 suites   8m 29s ⏱️
2 173 tests 2 173 ✅ 0 💤 0 ❌
4 085 runs  4 085 ✅ 0 💤 0 ❌

Results for commit 315df0c.

♻️ This comment has been updated with latest results.

Copy link

codecov bot commented Jan 29, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 60.62%. Comparing base (50e46b4) to head (315df0c).

Additional details and impacted files
@@                     Coverage Diff                     @@
##           jwt-refresh-token-model    #3270      +/-   ##
===========================================================
+ Coverage                    60.59%   60.62%   +0.02%     
===========================================================
  Files                          606      606              
  Lines                        43746    43776      +30     
  Branches                        48       48              
===========================================================
+ Hits                         26507    26538      +31     
+ Misses                       17227    17226       -1     
  Partials                        12       12              

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

@stveit stveit force-pushed the jwt-refresh-token-endpoint branch from 257a05c to b384528 Compare January 29, 2025 23:16
@stveit stveit force-pushed the jwt-refresh-token-model branch from f3f4c12 to d16dda5 Compare January 29, 2025 23:26
@stveit stveit force-pushed the jwt-refresh-token-endpoint branch from b384528 to c3c9e16 Compare January 29, 2025 23:28
@stveit stveit force-pushed the jwt-refresh-token-model branch from d16dda5 to c2568eb Compare January 29, 2025 23:35
@stveit stveit force-pushed the jwt-refresh-token-endpoint branch 2 times, most recently from c3c9e16 to ec2ead6 Compare January 29, 2025 23:47
@stveit stveit force-pushed the jwt-refresh-token-model branch 3 times, most recently from 1417b06 to f118619 Compare February 4, 2025 01:56
@stveit stveit force-pushed the jwt-refresh-token-endpoint branch 3 times, most recently from 66952f5 to 2190bad Compare February 4, 2025 03:17
@stveit stveit force-pushed the jwt-refresh-token-model branch from f118619 to 49c7894 Compare February 4, 2025 18:56
@stveit stveit force-pushed the jwt-refresh-token-endpoint branch 2 times, most recently from 0f0ed15 to 825d9f3 Compare February 6, 2025 07:02
@stveit stveit force-pushed the jwt-refresh-token-model branch from 49c7894 to c87e7a1 Compare February 6, 2025 07:46
@stveit stveit force-pushed the jwt-refresh-token-endpoint branch from 825d9f3 to c35d5b6 Compare February 6, 2025 07:47
@stveit stveit force-pushed the jwt-refresh-token-model branch from c87e7a1 to 50e46b4 Compare February 6, 2025 07:57
@stveit stveit force-pushed the jwt-refresh-token-endpoint branch from c35d5b6 to 2889fe6 Compare February 6, 2025 07:59
@stveit stveit force-pushed the jwt-refresh-token-endpoint branch from 2889fe6 to 315df0c Compare February 6, 2025 08:25
Copy link

sonarqubecloud bot commented Feb 6, 2025

Quality Gate Failed Quality Gate failed

Failed conditions
E Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant