Skip to content

feat: api key feature - #48

Merged
rivon0507 merged 8 commits into
mainfrom
feat/api-key
Feb 20, 2026
Merged

feat: api key feature#48
rivon0507 merged 8 commits into
mainfrom
feat/api-key

Conversation

@rivon0507

Copy link
Copy Markdown
Member

This pull request introduces a comprehensive API key management system and standardizes API route prefixes across the application. It also restructures authentication and security configuration to support partner API key authentication. The key changes are grouped below.

API Key Management Feature:

  • Added new endpoints for API key management, including creation, listing, and deletion, via the new ApiKeyController and associated DTOs (ApiKeyCreateRequest, ApiKeyResponse, ApiKeyWithRawToken). These endpoints are restricted to superadmins. [1] [2] [3] [4]
  • Introduced ApiKeyMapper for mapping between API key entities and DTOs, supporting both standard and raw token responses.

Security and Authentication Configuration:

  • Refactored SecurityConfiguration to add a dedicated security filter chain for partner API endpoints (/integration/**), using a new ApiKeyAuthenticationFilter for API key authentication. The main application endpoints now use JwtAuthenticationFilter instead of the previous AppAuthenticationFilter. [1] [2] [3] [4]
  • Updated AuthProperties to group session and API key settings into nested records, improving configuration structure and clarity. [1] [2]

API Route Standardization:

  • All REST controllers now use the /api/v1/ prefix for their endpoints, improving consistency and future-proofing the API. Integration endpoints are also grouped under /integration/. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12]

These changes collectively enable secure partner integrations, enhance API management for administrators, and lay the groundwork for consistent API versioning.

Ryan2486
Ryan2486 previously approved these changes Feb 20, 2026
@rivon0507
rivon0507 merged commit e6e2fd5 into main Feb 20, 2026
1 check passed
@rivon0507
rivon0507 deleted the feat/api-key branch February 20, 2026 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants