Actions
Feature #30648
openNextjs - Middleware settings
Status:
In Progress
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
12/01/2025
Due date:
12/31/2025 (about 4 months late)
% Done:
34%
Estimated time:
12:00 h (Total: 408:00 h)
Spent time:
16:00 h (Total: 767:15 h)
remarks:
DB Changes:
Keys & Permissions:
Areas Affected:
Files Changed:
Description
Setup middle ware with initial calls
Device token
Token
Country List
Currency List
Save token in cookie and set expiry time
validate token and based on expiry time call refresh token update in cookie
Updated by Muhammad Fasnas P P 5 months ago
- Status changed from New to In Progress
Updated by Shameel M 5 months ago
- Analyzed the real project’s auth middleware, utils, and services to understand the pretoken/token flow.
- Integrated the same logic into the scratch project and verified token requests, cookie handling, and middleware execution.
- Set up the homepage and basic structure to support further development once the full flow is expanded.
Updated by Shameel M 5 months ago
- Analyzed the token lifecycle inside middleware (initial pretoken/token flow, session cookie setting, and refresh flow).
- Identified scenarios where the refresh token API fails and discussed the flow with team members to clarify expected behavior.
- Added logs and debugging steps to trace middleware execution and validate token expiry handling.
- Applied minor fixes and adjustments in utils/middleware to better understand the full auth sequence.
Actions