diff --git a/docs/docs/concepts/auth.md b/docs/docs/concepts/auth.md index df24aa134..cfe37ed7b 100644 --- a/docs/docs/concepts/auth.md +++ b/docs/docs/concepts/auth.md @@ -2,10 +2,6 @@ LangGraph Platform provides a flexible authentication and authorization system that can integrate with most authentication schemes. -!!! note "Python only" - - We currently only support custom authentication and authorization in Python deployments with `langgraph-api>=0.0.11`. Support for LangGraph.JS will be added soon. - ## Core Concepts ### Authentication vs Authorization diff --git a/libs/cli/tests/unit_tests/test_config.py b/libs/cli/tests/unit_tests/test_config.py index cb27b0d0c..8b49bbe38 100644 --- a/libs/cli/tests/unit_tests/test_config.py +++ b/libs/cli/tests/unit_tests/test_config.py @@ -494,6 +494,7 @@ def test_config_to_docker_nodejs(): "node_version": "20", "graphs": graphs, "dockerfile_lines": ["ARG meow", "ARG foo"], + "auth": {"path": "./graphs/auth.mts:auth"}, "ui": {"agent": "./graphs/agent.ui.jsx"}, "ui_config": {"shared": ["nuqs"]}, } @@ -505,6 +506,7 @@ ARG meow ARG foo ADD . /deps/unit_tests RUN cd /deps/unit_tests && npm i +ENV LANGGRAPH_AUTH='{"path": "./graphs/auth.mts:auth"}' ENV LANGSERVE_GRAPHS='{"agent": "./graphs/agent.js:graph"}' ENV LANGGRAPH_UI='{"agent": "./graphs/agent.ui.jsx"}' ENV LANGGRAPH_UI_CONFIG='{"shared": ["nuqs"]}'