-
Notifications
You must be signed in to change notification settings - Fork 45
fix: amm-1931 JWT token reduced expiry timing #311
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
Conversation
WalkthroughJWT token expiration times are reduced from 24 hours to 8 hours across two configuration locations: the cookie Max-Age in CookieUtil.java and the access token lifetime in application.properties. Changes
Estimated code review effortπ― 1 (Trivial) | β±οΈ ~5 minutes
Possibly related PRs
Suggested reviewers
Poem
Pre-merge checks and finishing touchesβ Failed checks (1 warning)
β Passed checks (2 passed)
β¨ Finishing touches
π§ͺ Generate unit tests (beta)
π Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro π Files selected for processing (2)
π§° Additional context usedπ§ Learnings (4)π Common learningsπ Learning: 2025-02-03T12:41:59.244ZApplied to files:
π Learning: 2025-02-21T07:43:03.828ZApplied to files:
π Learning: 2025-02-21T07:42:36.497ZApplied to files:
π Additional comments (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
|
@coderabbitai |
|
@snehar-nd, I'll review the changes in this PR right away. This appears to be a security configuration update to reduce JWT token expiry from 1 day to 8 hours. β Actions performedReview triggered.
|



π Description
JIRA ID: AMM-1931
β Type of Change
βΉοΈ Additional Information
Before the expiry time has set to 1 day
jwt.access.expiration=86400000
cookie.setMaxAge(60 * 60 * 24); // 1 day expiration
Changes made:
Expiry time has been set to 8 hours.
#Jwt Token configuration
jwt.access.expiration=28800000
cookie.setMaxAge(60 * 60 * 8); // 8 hours expiration
Summary by CodeRabbit