diff --git a/SECURITY.md b/SECURITY.md index d4f3cb15d384..275df1f23c85 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -59,4 +59,4 @@ Setting `LANGFLOW_SKIP_AUTH_AUTO_LOGIN=true` and `LANGFLOW_AUTO_LOGIN=true` skip `LANGFLOW_SKIP_AUTH_AUTO_LOGIN=true` is the default behavior, so users do not need to change existing workflows in 1.5. To update your workflows to require authentication, set `LANGFLOW_SKIP_AUTH_AUTO_LOGIN=false`. -For more information, see [Authentication](https://docs.langflow.org/configuration-authentication). \ No newline at end of file +For more information, see [API keys and authentication](https://docs.langflow.org/api-keys-and-authentication). \ No newline at end of file diff --git a/docs/docs/API-Reference/api-reference-api-examples.mdx b/docs/docs/API-Reference/api-reference-api-examples.mdx index 29f30b14077e..0f64dfa83699 100644 --- a/docs/docs/API-Reference/api-reference-api-examples.mdx +++ b/docs/docs/API-Reference/api-reference-api-examples.mdx @@ -59,11 +59,8 @@ You can configure the Langflow port number in the `LANGFLOW_PORT` [environment v ### Authentication -In Langflow versions 1.5 and later, most API endpoints require a Langflow API key, even when `AUTO_LOGIN` is set to `True`. -The only exceptions are the MCP endpoints `/v1/mcp`, `/v1/mcp-projects`, and `/v2/mcp`, which never require authentication. - -To authenticate a Langflow API request, provide a Langflow API key in either an `x-api-key` header or query parameter. -For more information, see [API keys](/configuration-api-keys). +In Langflow versions 1.5 and later, most API endpoints require authentication with a Langflow API key in either an `x-api-key` header or query parameter. +For more information, see [API keys and authentication](/api-keys-and-authentication). As with any API, follow industry best practices for storing and referencing sensitive credentials. For example, you can [set environment variables](#set-environment-variables) for your API keys, and then reference those environment variables in your API requests. @@ -117,7 +114,7 @@ curl --request POST \ }' ``` -Commonly used values in Langflow API requests include your [Langflow server URL](#base-url), [Langflow API keys](/configuration-api-keys), flow IDs, and [project IDs](/api-projects#read-projects). +Commonly used values in Langflow API requests include your [Langflow server URL](#base-url), [Langflow API keys](#authentication), flow IDs, and [project IDs](/api-projects#read-projects). You can retrieve flow IDs from the [**API access** pane](/concepts-publish#api-access), in a flow's URL, and with [`GET /flows`](/api-flows#read-flows). diff --git a/docs/docs/Agents/agents.mdx b/docs/docs/Agents/agents.mdx index 5ab6e88a2a19..ed6aecbfabd9 100644 --- a/docs/docs/Agents/agents.mdx +++ b/docs/docs/Agents/agents.mdx @@ -115,7 +115,7 @@ For example, to use the default OpenAI model, you must provide a valid OpenAI AP You can enter the key directly, but it is recommended that you follow industry best practices for storing and referencing API keys. For example, you can use a