Skip to content

Conversation

@friedemannf
Copy link
Member

@friedemannf friedemannf commented Jan 19, 2026


Below is a summarization created by an LLM (gpt-4-0125-preview). Be mindful of hallucinations and verify accuracy.

Why

The changes were made to improve the authentication mechanism in a blockchain framework by extending the JWT token expiry, enhancing security, and user experience by reducing the frequency of re-authentication.

What

  • framework/.changeset/v0.13.3.md
    • Added a line to document the increase in JWT token expiry.
  • framework/components/blockchain/canton.go
    • Modified the TokenExpiry constant from time.Hour * 24 to a more extended period represented by a cryptic string suggesting a significant increase, possibly aiming for a 10-year token validity period. This change in token expiry duration directly impacts the authentication token's longevity, presumably to decrease the need for frequent renewals in long-term operations.

@friedemannf friedemannf marked this pull request as ready for review January 19, 2026 14:18
@friedemannf friedemannf requested a review from a team as a code owner January 19, 2026 14:18
Copilot AI review requested due to automatic review settings January 19, 2026 14:18
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR extends the JWT token expiry duration for Canton authentication from 24 hours to 10 years, significantly reducing the frequency of required re-authentication. The change is documented in the changelog.

Changes:

  • JWT token expiry increased from 1 day to 10 years in Canton configuration
  • Changelog updated to reflect the JWT expiry change

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
framework/components/blockchain/canton.go Modified TokenExpiry constant to extend token validity to 10 years
framework/.changeset/v0.13.3.md Added changelog entry documenting the JWT token expiry increase

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@friedemannf friedemannf merged commit b2010d3 into main Jan 19, 2026
75 of 77 checks passed
@friedemannf friedemannf deleted the canton-token-expiry branch January 19, 2026 14:20
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.

2 participants