"Rustify-Auth is a lightweight OAuth 2.0 & 2.1 authorization server in Rust, designed with educational goals in mind. It supports Authorization Code + PKCE, Client Credentials, Refresh Tokens, secure JWT token generation, and Post-Quantum Cryptography (PQC) for enhanced future-proof security.
MIT License
8
stars
4
forks
source link
feat: Add device code expiration cleanup and fix type mismatch in cle… #30
Implemented 'cleanup_expired_codes' method in 'DeviceCodeStore' to remove expired device codes.
Added a periodic cleanup task using 'actix_web::rt::spawn' to invoke the cleanup method every 60 seconds.
Resolved type mismatch in 'start_cleanup_task' by converting 'Arc' to 'web::Data' using '.into()' for proper integration with Actix Web's data management.
…anup task