External Portal Config
Component Detail
User Interface
medium complexity
frontend
1
Dependencies
0
Dependents
0
Entities
0
Integrations
Description
Next.js admin page under Organization Management allowing admins to declare the external portal URL, OAuth client credentials, scope mappings, and capability boundary declarations. Includes a test-connection action that validates the configured endpoint and shows live status feedback.
external-portal-config
Sources & reasoning
Admin UI is required so organization admins can configure the external portal endpoint, OAuth credentials, scope mappings, and capability boundaries. The masked display and test-connection action are directly called out in the implementation notes as required safety constraints.
No source references — this artifact was included based on reasoning alone (see above).
Responsibilities
- Render form fields for portal URL, OAuth client ID/secret, and scope mappings
- Display capability boundary declaration checkboxes to prevent feature overlap
- Trigger test-connection validation and surface result to the admin
- Show masked credential display - secrets never rendered in plaintext after save
Interfaces
renderPortalConfigForm(orgId)
submitPortalConfig(payload)
testConnection(orgId)
resetCredentials(orgId)