Skip to content

Commit 0e9e9b3

Browse files
Merge pull request #8 from BetterAndBetterII/oidc
2 parents cd2662b + 45803eb commit 0e9e9b3

File tree

18 files changed

+554
-842
lines changed

18 files changed

+554
-842
lines changed

.cursor/rules/arch.mdc

Lines changed: 0 additions & 220 deletions
This file was deleted.

.cursor/rules/plan.mdc

Lines changed: 0 additions & 108 deletions
This file was deleted.

.env.example

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
1+
# GitHub OAuth 配置
12
GITHUB_CLIENT_ID="xxxxxxxxxxxxxxxxxxx"
23
GITHUB_CLIENT_SECRET="xxxxxxxxxxxxxx"
3-
GITHUB_REDIRECT_URL="http://localhost:3000/auth/github/callback" # 或者你部署后的回调地址
4+
GITHUB_REDIRECT_URL="http://localhost:3002/auth/callback" # 或者你部署后的回调地址
5+
6+
# JWT 配置
47
JWT_SECRET="YOUR_SUPER_SECRET_RANDOM_STRING"
58

9+
# OpenAI 配置
610
OPENAI_API_KEY=sk-xxxxxxxxxxxxxx
711
OPENAI_BASE_URL=https://xxxxxx.xxxxx # 不加/v1...
12+
13+
# 存储配置
814
STORAGE_TYPE=sqlite # 支持memory,filesystem, kv, s3,具体看README

0 commit comments

Comments
 (0)