Skip to content

956 Added refresh token and refresh token expiration - #980

Merged
tickBit merged 2 commits into
devfrom
956-feature-request-refresh-token-system-for-testing_session
Sep 11, 2026
Merged

956 Added refresh token and refresh token expiration#980
tickBit merged 2 commits into
devfrom
956-feature-request-refresh-token-system-for-testing_session

Conversation

@Iir0R

@Iir0R Iir0R commented Sep 11, 2026

Copy link
Copy Markdown
Collaborator

Brief description

Added refresh token and refresh token expiration to test session. Access token and exp remain untouched.

Change list

  • New method createTestingSessionTokens that creates access and refresh tokens + exp dates
  • Updated getAdminToken to get profile tokenVersion
  • New Dtos + updated old ones to keep code DRY

NOTE: Goal of Issue was to add refresh only to testing, but token creation could maybe be used in normal login too.

@codecov-alt

codecov-alt Bot commented Sep 11, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 93.10345% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/box/accountClaimer/payloads/claimedAccount.ts 0.00% 2 Missing ⚠️
Files with missing lines Coverage Δ
src/auth/auth.service.ts 98.57% <100.00%> (+0.26%) ⬆️
src/auth/box/BoxAuthService.ts 96.00% <100.00%> (-0.08%) ⬇️
src/box/accountClaimer/accountClaimer.service.ts 94.73% <100.00%> (+0.29%) ⬆️
src/box/auth/BoxAuthHandler.ts 96.96% <100.00%> (+0.81%) ⬆️
src/box/accountClaimer/payloads/claimedAccount.ts 0.00% <0.00%> (ø)

... and 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@CapoMK25 CapoMK25 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved from me.

@github-project-automation github-project-automation Bot moved this from Backlog to Done in Altzone-Server Sep 11, 2026

@tickBit tickBit left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems excellent work 👍 ! Approved.

@tickBit
tickBit merged commit 637700b into dev Sep 11, 2026
5 checks passed
@tickBit
tickBit deleted the 956-feature-request-refresh-token-system-for-testing_session branch September 11, 2026 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Feature request: Refresh token system for TESTING_SESSION

4 participants