Open Issues Need Help
View All on GitHubAI Summary: This issue outlines the implementation of a new Java endpoint, `DELETE /api/v1/tokens/revoke`, designed to invalidate JWT access tokens. The process involves blacklisting the provided token in Redis with a TTL matching its remaining lifetime and recording an audit log entry. The endpoint is expected to handle various input and server-side errors, returning `204 No Content` upon successful revocation.
A socially-driven open-source project promoting long-lasting, high-quality products and conscious consumption
AI Summary: Develop a REST API endpoint that issues JWT tokens upon receiving a valid user ID and secret key. The endpoint must include robust error handling (400, 401, 500) with detailed error responses and comprehensive logging of all token issuance attempts, including user ID, timestamp, and success/failure status.
A socially-driven open-source project promoting long-lasting, high-quality products and conscious consumption