Commit Graph
4 Commits
Author SHA1 Message Date
dahyeon bb992167d2 Adds comprehensive page management and temporary access tokens
Introduces the `PageModule` to provide full CRUD capabilities for pages within spaces.

Key features include:
-   API endpoints for creating, retrieving, updating, and soft-deleting pages.
-   Support for hierarchical page structures with validation to prevent circular references.
-   A mechanism to generate and manage temporary access tokens, allowing controlled public access to specific pages or entire spaces.
-   Integration with database repositories and comprehensive Swagger documentation for all new endpoints and DTOs.
-   Ensures proper authorization and validation for all page and token operations.
2025-11-10 15:42:02 +00:00
dahyeon 6aec3e91b8 Feat: Implement image upload and refine API infrastructure
Introduces a new `ImageModule` to handle image uploads, utilizing Minio for object storage and NATS for triggering asynchronous derivative generation workflows.

Enhances the NATS client with improved connection reliability, graceful shutdown, and a simplified `publish` method for outgoing messages.

Refines JWT verification for Microsoft Entra ID, including robust JWKS handling, better type safety for claims, and improved error logging to ensure secure authentication.

Updates Swagger documentation with the API server URL and Bearer (OpenID Connect) authentication scheme for better discoverability and easier client integration.

Enables global CORS to allow cross-origin requests to the API.

Adds `minio`, `temporal-polyfill`, and `@types/multer` dependencies to support these new functionalities.
2025-11-09 14:50:24 +00:00
dahyeon d6b9477094 feat(auth): implement OIDC JWT verification with dynamic identity provider support
- Added JwtService (azure-jwt.service.ts) to verify tokens from multiple IdPs (Microsoft Entra ID, Amazon Cognito)
- Implemented dynamic provider configuration (issuer, audience, jwksUri)
- Added JwtAuthGuard for NestJS to handle JWT validation via jose library
- Integrated @Public() and @IdP() decorators for route-level control
- Audience () and issuer () validation logic aligned with OIDC standards
- Added clock tolerance and allowed algorithm checks for security hardening
2025-11-08 03:33:36 +00:00
dahyeon 02255d7240 first commit 2025-11-07 09:17:35 +09:00