[PR #533] [MERGED] Feature/use jwt in web #22543

Closed
opened 2026-02-21 20:19:12 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify/pull/533
Author: @crazywoola
Created: 7/8/2023
Status: Merged
Merged: 7/11/2023
Merged by: @zxhlyh

Base: mainHead: feature/use-jwt-in-web


📝 Commits (10+)

📊 Changes

12 files changed (+161 additions, -90 deletions)

View changed files

📝 .gitignore (+1 -0)
📝 api/app.py (+1 -1)
📝 api/controllers/web/__init__.py (+1 -1)
api/controllers/web/passport.py (+64 -0)
📝 api/controllers/web/wraps.py (+16 -78)
api/libs/passport.py (+20 -0)
📝 api/requirements.txt (+2 -1)
📝 web/app/components/share/chat/index.tsx (+17 -2)
📝 web/app/components/share/text-generation/index.tsx (+5 -5)
web/app/components/share/utils.ts (+18 -0)
📝 web/service/base.ts (+10 -2)
📝 web/service/share.ts (+6 -0)

📄 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/langgenius/dify/pull/533 **Author:** [@crazywoola](https://github.com/crazywoola) **Created:** 7/8/2023 **Status:** ✅ Merged **Merged:** 7/11/2023 **Merged by:** [@zxhlyh](https://github.com/zxhlyh) **Base:** `main` ← **Head:** `feature/use-jwt-in-web` --- ### 📝 Commits (10+) - [`04bcafb`](https://github.com/langgenius/dify/commit/04bcafb5c8bc17a5e44e0ee4e647ba61719fe4a2) chore: update code - [`1f9fa54`](https://github.com/langgenius/dify/commit/1f9fa549d693c1a1cb41f1ed6ae7bbe5ca829901) chore: setup debugger - [`be7e367`](https://github.com/langgenius/dify/commit/be7e367a75ce12d0e4b3468e87cccd4783b66754) feat: add passport services - [`34ce138`](https://github.com/langgenius/dify/commit/34ce138b75775e2f4b59d5ae69d60b046dac4707) chore: cleanup unused vars - [`ee11fdd`](https://github.com/langgenius/dify/commit/ee11fdd8d6ec48def720eadaa9fa204f612d2b5d) chore: remove deprecated code - [`7dbe5c1`](https://github.com/langgenius/dify/commit/7dbe5c1edd2836987b7a735a24cdc91fac347a7c) chore: remove unused vars - [`4aa3fcd`](https://github.com/langgenius/dify/commit/4aa3fcd609a794e8d1ca9294de5c14b3b82f6064) chore: rename site code to app id - [`438ad60`](https://github.com/langgenius/dify/commit/438ad60039536ba2e4d26ff463d7b8c2f8a17ec5) chore: rename to X-App-Code - [`a43fc4e`](https://github.com/langgenius/dify/commit/a43fc4ef128c7a02baa674b1740929b8a5284c85) add X-App-Code to allow_headers - [`5bde489`](https://github.com/langgenius/dify/commit/5bde48939f4ee70932ecbff371cba7595993b885) chore: remove code ### 📊 Changes **12 files changed** (+161 additions, -90 deletions) <details> <summary>View changed files</summary> 📝 `.gitignore` (+1 -0) 📝 `api/app.py` (+1 -1) 📝 `api/controllers/web/__init__.py` (+1 -1) ➕ `api/controllers/web/passport.py` (+64 -0) 📝 `api/controllers/web/wraps.py` (+16 -78) ➕ `api/libs/passport.py` (+20 -0) 📝 `api/requirements.txt` (+2 -1) 📝 `web/app/components/share/chat/index.tsx` (+17 -2) 📝 `web/app/components/share/text-generation/index.tsx` (+5 -5) ➕ `web/app/components/share/utils.ts` (+18 -0) 📝 `web/service/base.ts` (+10 -2) 📝 `web/service/share.ts` (+6 -0) </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-21 20:19:12 -05:00
yindo closed this issue 2026-02-21 20:19:12 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#22543