Commit Graph
4 Commits
Author SHA1 Message Date
dahyeon 4ec9bf1acf Enhances API documentation and enables Swagger UI
Adds detailed `@ApiBody` schemas to several endpoints within `PageController` and `SpaceController`, including methods for creating and updating pages, spaces, and managing temporary access tokens. This provides clear, machine-readable descriptions of expected request bodies for API consumers.

Enables the Swagger UI in the main application bootstrap, allowing for interactive exploration and testing of the API endpoints directly through the browser.
2025-11-10 16:29:42 +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