mirror of
https://github.com/Xevion/Pac-Man.git
synced 2025-12-13 10:12:19 -06:00
refactor(auth): implement session-based PKCE and eliminate provider duplication
- Replace in-memory PKCE storage with encrypted session cookies - Add PKCE verifier and CSRF state fields to JWT Claims struct - Move common PKCE validation logic to OAuthProvider trait - Extract provider-specific methods for token exchange and user fetching - Remove PkceManager and DashMap-based storage system - Update GitHub and Discord providers to use new session-based approach
This commit is contained in:
@@ -7,7 +7,6 @@ use crate::config::Config;
|
||||
|
||||
pub mod discord;
|
||||
pub mod github;
|
||||
pub mod pkce;
|
||||
pub mod provider;
|
||||
|
||||
type OAuthClient =
|
||||
|
||||
Reference in New Issue
Block a user