BLOG-85 Implement OIDC authentication #93

Merged
squid merged 8 commits from BLOG-85_oidc_login into main 2025-07-30 03:46:50 +08:00

8 Commits

Author SHA1 Message Date
7a153f0f86 BLOG-85 feat: add InvalidState error to AuthError and update error handling in OIDC callback
All checks were successful
PR Title Check / pr-title-check (pull_request) Successful in 13s
Frontend CI / build (push) Successful in 1m8s
2025-07-30 03:43:24 +08:00
161ef5327a BLOG-85 refactor: remove unused dependency
All checks were successful
Frontend CI / build (push) Successful in 1m5s
PR Title Check / pr-title-check (pull_request) Successful in 13s
Auto Comment On PR / add_improve_comment (pull_request) Successful in 16s
2025-07-30 03:19:35 +08:00
64cad463cd BLOG-85 feat: Dockerfile add environment variables for Redis and OIDC configuration
All checks were successful
Frontend CI / build (push) Successful in 1m19s
2025-07-30 03:14:38 +08:00
a9655edff6 BLOG-85 refactor: enhance configuration management with database, server, session, and storage modules
All checks were successful
Frontend CI / build (push) Successful in 1m9s
2025-07-30 03:00:41 +08:00
14b7d745a1 BLOG-85 feat: logout endpoint 2025-07-30 03:00:41 +08:00
32b3d47715 BLOG-85 feat: implement OIDC authentication flow
- Added OIDC authentication support with new modules for handling OIDC login and callback.
- Introduced `AuthController`, `AuthOidcService`, and related DTOs for managing authentication state and user responses.
- Implemented session management using `actix-session` with Redis for storing authentication state.
- Created configuration management for OIDC settings, including provider metadata and client credentials.
- Updated server configuration to initialize OIDC services and session management.
- Refactored existing code to integrate new authentication features and ensure proper dependency management.
2025-07-30 03:00:36 +08:00
c4a0c20d7d BLOG-85 refactor: rename workflow
All checks were successful
Frontend CI / build (push) Successful in 1m9s
2025-07-28 09:50:11 +08:00
513e07b46a BLOG-85 init: auth crate
Some checks failed
Frontend CI / build (push) Has been cancelled
2025-07-28 09:49:22 +08:00