Skip to content

IAV-682/feat(wizard): add API integration for wizard steps and credential schemas

mohamed kaanoun a demandé de fusionner feature/IAV-682 vers develop

Platform Credentials & OAuth Integration for Wizard Step 4

API Endpoints & Services

  • Add credential endpoints for N8N service (schema, create, update, delete)
  • Add OAuth endpoints for social platform authentication (authorize, status)
  • Export new endpoints from API index

State Management (Stores)

  • Create credential-schema-store for fetching and caching platform credential schemas
  • Create oauth-store for managing OAuth flow with popup and status polling
  • Update wizard-store with step 4 integration (SavePlatformIntegrationsRequest)
  • Export new stores and types from API index

UI Components

  • Create OAuthConnectButton component for OAuth platforms (Twitter, LinkedIn)
  • Update step-integration-config to support both OAuth and manual credential forms
  • Add dynamic credential form rendering based on platform schema
  • Implement loading, success, and error states for credential operations

Type Definitions

  • Add SavePlatformIntegrationsRequest and SavePlatformIntegrationsResponse DTOs
  • Add PlatformIntegrationDetailRequest and PlatformIntegrationDetailResponse types
  • Add CredentialTypeSchemaDTO and CredentialPropertyDTO interfaces
  • Add OAuthConnectionState, OAuthAuthorizeRequest, OAuthStatusResponse types

Code Quality

  • Remove console.log statements from all modified files
  • Replace ternary operators with ConditionalComponent for consistent rendering
  • Add French user-friendly error messages for credential operations

CLOSE IAV-682

Rapports de requête de fusion