jwt
✓為服務到服務和用戶授權實現 JWT 承載身份驗證。 使用場合:配置身份驗證、創建授權策略、頒發/驗證令牌或排除 401/403 錯誤。
SKILL.md
Sorcha uses JWT Bearer authentication with the Tenant Service as the token issuer. All services validate tokens using shared JwtSettings from Sorcha.ServiceDefaults. Tokens support three types: user (email/password), service (client credentials), and delegated (service acting on behalf of user).
| Token Types | Differentiate user vs service | tokentype claim: "user" or "service" | | Organization Scope | Isolate tenant data | orgid claim in token | | Signing Key | Symmetric HMAC-SHA256 | Auto-generated in dev, Azure Key Vault in prod | | Token Lifetime | Configurable per type | Access: 60min, Refresh: 24hr, Service: 8hr |
為服務到服務和用戶授權實現 JWT 承載身份驗證。 使用場合:配置身份驗證、創建授權策略、頒發/驗證令牌或排除 401/403 錯誤。 來源:stuartf303/sorcha。
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/stuartf303/sorcha --skill jwt 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用
可引用資訊
為搜尋與 AI 引用準備的穩定欄位與指令。
- 安裝指令
npx skills add https://github.com/stuartf303/sorcha --skill jwt- 分類
- !安全工具
- 認證
- ✓
- 收錄時間
- 2026-02-01
- 更新時間
- 2026-02-18
快速解答
什麼是 jwt?
為服務到服務和用戶授權實現 JWT 承載身份驗證。 使用場合:配置身份驗證、創建授權策略、頒發/驗證令牌或排除 401/403 錯誤。 來源:stuartf303/sorcha。
如何安裝 jwt?
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/stuartf303/sorcha --skill jwt 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用
這個 Skill 的原始碼在哪?
https://github.com/stuartf303/sorcha
詳情
- 分類
- !安全工具
- 來源
- skills.sh
- 收錄時間
- 2026-02-01