Skip to content

fix: update cookie handling and token expiration settings for improve…#102

Merged
Ketbome merged 1 commit intomainfrom
100-bug-getting-logged-out-from-panel-too-quickly
Mar 8, 2026
Merged

fix: update cookie handling and token expiration settings for improve…#102
Ketbome merged 1 commit intomainfrom
100-bug-getting-logged-out-from-panel-too-quickly

Conversation

@Ketbome
Copy link
Owner

@Ketbome Ketbome commented Mar 8, 2026

Description

Fixes the cookie-based authentication flow for local development (http://localhost) and updates JWT expiration configuration.

Main changes:

  • Adjusts ALLOW_INSECURE_AUTH_COOKIES to allow local testing without HTTPS when needed.
  • Adds/configures JWT_EXPIRES_IN to explicitly control access_token lifetime.
  • Verifies that refresh token flow still works with rotation and revocation in /auth/refresh.

Type of Change

  • 🐛 Bug fix (non-breaking change that fixes an issue)
  • ✨ New feature (non-breaking change that adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • 📝 Documentation update
  • 🔧 Configuration change
  • ♻️ Refactoring (no functional changes)
  • 🧪 Tests

@Ketbome Ketbome linked an issue Mar 8, 2026 that may be closed by this pull request
2 tasks
@Ketbome Ketbome merged commit 3f6e7eb into main Mar 8, 2026
14 of 15 checks passed
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.

[Bug]: Getting logged out from panel too quickly

1 participant