Skip to content

Conversation

@asepindrak
Copy link
Owner

No description provided.

…n flow

- Added bcrypt for secure token hashing.
- Updated User model to include refreshTokenHash and refreshTokenExpiresAt.
- Enhanced AuthController to manage refresh tokens via cookies.
- Updated AuthService to generate, save, and validate refresh tokens.
- Improved error handling and response structure in authentication endpoints.
- Modified frontend API calls to support refresh token logic and ensure cookies are sent with requests.
- Updated session management in the auth store to handle token refresh seamlessly.
@asepindrak asepindrak merged commit a96d6a5 into main Nov 25, 2025
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