[PR #44] [MERGED] feat(api): JS custom auth support #44

Closed
opened 2026-02-16 04:17:06 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langgraphjs-api/pull/44
Author: @dqbd
Created: 4/8/2025
Status: Merged
Merged: 4/10/2025
Merged by: @dqbd

Base: mainHead: dqbd/api-auth


📝 Commits (10+)

  • 21aab11 feat(api): JS custom auth support
  • 9f7fa66 Fix types
  • 5c98b64 Handle mutability of metadata object
  • 0993b77 Add some portion of integration tests
  • ec281e2 Fix lint
  • e17f032 Exclude auth test for now
  • e099b6c Clean up auth
  • 6f86b58 Implement studio no-op
  • 42ea6b6 Add missing test
  • b205248 Insert langgraph_auth_user into config, match tests from Python API

📊 Changes

28 files changed (+1932 additions, -313 deletions)

View changed files

📝 .github/workflows/ci.yml (+39 -1)
📝 libs/langgraph-api/package.json (+13 -2)
📝 libs/langgraph-api/scripts/build.mjs (+2 -6)
📝 libs/langgraph-api/scripts/clean.mjs (+1 -6)
📝 libs/langgraph-api/scripts/test.mjs (+9 -9)
libs/langgraph-api/scripts/utils.mjs (+15 -0)
📝 libs/langgraph-api/src/api/assistants.mts (+64 -52)
📝 libs/langgraph-api/src/api/runs.mts (+84 -25)
📝 libs/langgraph-api/src/api/store.mts (+34 -0)
📝 libs/langgraph-api/src/api/threads.mts (+33 -16)
libs/langgraph-api/src/auth/custom.mts (+91 -0)
libs/langgraph-api/src/auth/index.mts (+172 -0)
📝 libs/langgraph-api/src/cli/spawn.mts (+2 -0)
📝 libs/langgraph-api/src/graph/load.mts (+12 -8)
📝 libs/langgraph-api/src/queue.mts (+1 -1)
📝 libs/langgraph-api/src/schemas.mts (+1 -0)
📝 libs/langgraph-api/src/server.mts (+19 -6)
📝 libs/langgraph-api/src/storage/ops.mts (+439 -129)
📝 libs/langgraph-api/tests/api.test.mts (+10 -43)
libs/langgraph-api/tests/auth.test.mts (+639 -0)

...and 8 more files

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/langgraphjs-api/pull/44 **Author:** [@dqbd](https://github.com/dqbd) **Created:** 4/8/2025 **Status:** ✅ Merged **Merged:** 4/10/2025 **Merged by:** [@dqbd](https://github.com/dqbd) **Base:** `main` ← **Head:** `dqbd/api-auth` --- ### 📝 Commits (10+) - [`21aab11`](https://github.com/langchain-ai/langgraphjs-api/commit/21aab1150ee9d9a9bde0f769b8e57b517cf39518) feat(api): JS custom auth support - [`9f7fa66`](https://github.com/langchain-ai/langgraphjs-api/commit/9f7fa662e4487ea099e29cf2605a31f98787a696) Fix types - [`5c98b64`](https://github.com/langchain-ai/langgraphjs-api/commit/5c98b641bd185b43bc63a997ee6140c5a852fdde) Handle mutability of metadata object - [`0993b77`](https://github.com/langchain-ai/langgraphjs-api/commit/0993b774e259c235bac11e51d4ddbf5dec702302) Add some portion of integration tests - [`ec281e2`](https://github.com/langchain-ai/langgraphjs-api/commit/ec281e209386fb86c917a2d1ddffe7ad3e284edc) Fix lint - [`e17f032`](https://github.com/langchain-ai/langgraphjs-api/commit/e17f03274f395275d10a1e12c1d3a8d7d78901fa) Exclude auth test for now - [`e099b6c`](https://github.com/langchain-ai/langgraphjs-api/commit/e099b6c25f7be87e8fdb0071bb9dfa4f799e0d2b) Clean up auth - [`6f86b58`](https://github.com/langchain-ai/langgraphjs-api/commit/6f86b58a11dd3b680830b63911b5514b5ff41a64) Implement studio no-op - [`42ea6b6`](https://github.com/langchain-ai/langgraphjs-api/commit/42ea6b6c53ecdc97d9a61c961b1bd9fd830099b1) Add missing test - [`b205248`](https://github.com/langchain-ai/langgraphjs-api/commit/b205248bbbb2f825483c682acad9df69c0ed2d81) Insert `langgraph_auth_user` into config, match tests from Python API ### 📊 Changes **28 files changed** (+1932 additions, -313 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/ci.yml` (+39 -1) 📝 `libs/langgraph-api/package.json` (+13 -2) 📝 `libs/langgraph-api/scripts/build.mjs` (+2 -6) 📝 `libs/langgraph-api/scripts/clean.mjs` (+1 -6) 📝 `libs/langgraph-api/scripts/test.mjs` (+9 -9) ➕ `libs/langgraph-api/scripts/utils.mjs` (+15 -0) 📝 `libs/langgraph-api/src/api/assistants.mts` (+64 -52) 📝 `libs/langgraph-api/src/api/runs.mts` (+84 -25) 📝 `libs/langgraph-api/src/api/store.mts` (+34 -0) 📝 `libs/langgraph-api/src/api/threads.mts` (+33 -16) ➕ `libs/langgraph-api/src/auth/custom.mts` (+91 -0) ➕ `libs/langgraph-api/src/auth/index.mts` (+172 -0) 📝 `libs/langgraph-api/src/cli/spawn.mts` (+2 -0) 📝 `libs/langgraph-api/src/graph/load.mts` (+12 -8) 📝 `libs/langgraph-api/src/queue.mts` (+1 -1) 📝 `libs/langgraph-api/src/schemas.mts` (+1 -0) 📝 `libs/langgraph-api/src/server.mts` (+19 -6) 📝 `libs/langgraph-api/src/storage/ops.mts` (+439 -129) 📝 `libs/langgraph-api/tests/api.test.mts` (+10 -43) ➕ `libs/langgraph-api/tests/auth.test.mts` (+639 -0) _...and 8 more files_ </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 04:17:06 -05:00
yindo closed this issue 2026-02-16 04:17:06 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraphjs-api#44