10 Commits

Author SHA1 Message Date
690425e144 feat: update configuration and README for improved authentication and database support 2026-03-05 01:49:37 +01:00
9ca4eeddb4 feat: enhance application state management with cookie support
- Added cookie key to AppState for managing session cookies.
- Updated AppState initialization to derive cookie key from configuration.
- Removed session-based authentication option from cargo-generate prompts.
- Refactored JWT authentication logic to improve clarity and error handling.
- Updated password validation to align with NIST recommendations (minimum length increased).
- Removed unused session store implementation and related code.
- Improved error handling in user repository for unique constraint violations.
- Refactored OIDC service to include state management for authentication flow.
- Cleaned up dependencies in Cargo.toml and Cargo.toml.template for clarity and efficiency.
2026-03-05 01:28:27 +01:00
c368293cd4 feat: Transform project into a cargo-generate template with configurable authentication features and improved local user registration. 2026-01-06 05:53:01 +01:00
32a0faf302 refactor: Replace raw strings with domain value objects for improved type safety in authentication and OIDC. 2026-01-06 05:16:16 +01:00
16dcc4b95e feat: add JWT authentication and flexible auth modes with configurable login responses 2026-01-06 05:01:56 +01:00
5296171b85 feat: Add OpenID Connect (OIDC) authentication support with new OIDC service, routes, and configuration. 2026-01-06 02:43:23 +01:00
0fe682c737 feat: Centralize axum-login authentication logic in infra and introduce configurable database and session settings. 2026-01-02 23:02:50 +01:00
4500b4ecbc feat: update dependencies and enhance configuration loading for CORS support 2026-01-02 22:30:51 +01:00
61202c5969 chore: remove sqlx dependency from Cargo.toml and Cargo.lock 2026-01-02 13:14:24 +01:00
1d141c7a97 feat(api): implement user authentication and registration endpoints
- Add main application logic in `api/src/main.rs` to initialize server, database, and services.
- Create authentication routes in `api/src/routes/auth.rs` for login, register, logout, and user info retrieval.
- Implement configuration route in `api/src/routes/config.rs` to expose application settings.
- Define application state management in `api/src/state.rs` to share user service and configuration.
- Set up Docker Compose configuration in `compose.yml` for backend, worker, and database services.
- Establish domain logic in `domain` crate with user entities, repositories, and services.
- Implement SQLite user repository in `infra/src/user_repository.rs` for user data persistence.
- Create database migration handling in `infra/src/db.rs` and session store in `infra/src/session_store.rs`.
- Add necessary dependencies and features in `Cargo.toml` files for both `domain` and `infra` crates.
2026-01-02 13:07:09 +01:00