|
9 | 9 | "url": "The remote MCP server URL for the SSE endpoint, for example http://example/sse" |
10 | 10 | } |
11 | 11 | }, |
| 12 | + "credentials_choice": { |
| 13 | + "title": "Choose how to authenticate with the MCP server", |
| 14 | + "description": "You can either use existing credentials from another integration or set up new credentials.", |
| 15 | + "menu_options": { |
| 16 | + "new_credentials": "Set up new credentials", |
| 17 | + "pick_implementation": "Use existing credentials" |
| 18 | + }, |
| 19 | + "menu_option_descriptions": { |
| 20 | + "new_credentials": "You will be guided through setting up a new OAuth Client ID and secret.", |
| 21 | + "pick_implementation": "You may use previously entered OAuth credentials." |
| 22 | + } |
| 23 | + }, |
12 | 24 | "pick_implementation": { |
13 | 25 | "title": "[%key:common::config_flow::title::oauth2_pick_implementation%]", |
14 | 26 | "data": { |
|
27 | 39 | }, |
28 | 40 | "abort": { |
29 | 41 | "already_configured": "[%key:common::config_flow::abort::already_configured_device%]", |
| 42 | + "authorize_url_timeout": "[%key:common::config_flow::abort::oauth2_authorize_url_timeout%]", |
30 | 43 | "cannot_connect": "[%key:common::config_flow::error::cannot_connect%]", |
31 | 44 | "invalid_auth": "[%key:common::config_flow::error::invalid_auth%]", |
32 | 45 | "missing_capabilities": "The MCP server does not support a required capability (Tools)", |
33 | 46 | "missing_credentials": "[%key:common::config_flow::abort::oauth2_missing_credentials%]", |
| 47 | + "no_url_available": "[%key:common::config_flow::abort::oauth2_no_url_available%]", |
34 | 48 | "reauth_account_mismatch": "The authenticated user does not match the MCP Server user that needed re-authentication.", |
35 | 49 | "reauth_successful": "[%key:common::config_flow::abort::reauth_successful%]", |
| 50 | + "oauth_error": "[%key:common::config_flow::abort::oauth2_error%]", |
| 51 | + "oauth_timeout": "[%key:common::config_flow::abort::oauth2_timeout%]", |
| 52 | + "oauth_unauthorized": "[%key:common::config_flow::abort::oauth2_unauthorized%]", |
| 53 | + "oauth_failed": "[%key:common::config_flow::abort::oauth2_failed%]", |
36 | 54 | "timeout_connect": "[%key:common::config_flow::error::timeout_connect%]", |
37 | | - "unknown": "[%key:common::config_flow::error::unknown%]" |
| 55 | + "unknown": "[%key:common::config_flow::error::unknown%]", |
| 56 | + "user_rejected_authorize": "[%key:common::config_flow::abort::oauth2_user_rejected_authorize%]" |
38 | 57 | } |
39 | 58 | } |
40 | 59 | } |
0 commit comments