feat: scope API MCP OAuth by principal
This commit is contained in:
@@ -3635,6 +3635,8 @@ export default {
|
||||
listFailed: 'Failed to list tenants',
|
||||
searchFailed: 'Failed to search tenants',
|
||||
resetApiKeyFailed: 'Failed to reset API Key',
|
||||
getApiPrincipalConfigFailed: 'Failed to get API principal config',
|
||||
updateApiPrincipalConfigFailed: 'Failed to update API principal config',
|
||||
updateFailed: 'Failed to update tenant information',
|
||||
deleteFailed: 'Failed to delete tenant',
|
||||
},
|
||||
@@ -5737,9 +5739,39 @@ export default {
|
||||
tabs: {
|
||||
im: 'IM Integration',
|
||||
embed: 'Web Embed',
|
||||
api: 'API Key',
|
||||
chrome: 'Chrome Extension',
|
||||
claw: 'Claw Skill',
|
||||
},
|
||||
api: {
|
||||
title: 'API Key Integration',
|
||||
subtitle: 'Use the tenant API key for server-side integrations, and choose how API requests identify the terminal user.',
|
||||
loading: 'Loading API integration settings...',
|
||||
retry: 'Retry',
|
||||
copy: 'Copy',
|
||||
copySuccess: 'Copied',
|
||||
save: 'Save',
|
||||
baseUrl: 'API Base URL',
|
||||
baseUrlDesc: 'Use this base URL with REST API paths.',
|
||||
apiKey: 'Tenant API Key',
|
||||
apiKeyDesc: 'The API key is still tenant-level. User identity is supplied by the principal mode below.',
|
||||
principalMode: 'User identity mode',
|
||||
principalModeDesc: 'Controls how X-API-Key requests map to a principal for OAuth MCP tokens and other per-user features.',
|
||||
modeTenant: 'Tenant only',
|
||||
modeDirect: 'Direct user ID',
|
||||
modeSigned: 'Signed token',
|
||||
directWarning: 'Direct user ID trusts the caller-supplied header. Use only for trusted server-to-server calls.',
|
||||
signedRecommended: 'Recommended for user-facing apps: your backend signs a short-lived HS256 JWT for the external user.',
|
||||
directHeader: 'User ID header',
|
||||
tokenHeader: 'Token header',
|
||||
hmacSecret: 'HMAC secret',
|
||||
secretConfigured: 'Secret configured; enter a new value to rotate',
|
||||
generateSecret: 'Generate secret',
|
||||
requestExample: 'Request example',
|
||||
loadFailed: 'Failed to load API integration settings',
|
||||
saveFailed: 'Failed to save API integration settings',
|
||||
saveSuccess: 'API integration settings saved',
|
||||
},
|
||||
manageSectionTitle: 'Channel configuration',
|
||||
manageSectionDesc: 'Select an agent to create or edit integration channels for that agent',
|
||||
selectAgent: 'Select agent',
|
||||
|
||||
Reference in New Issue
Block a user