test: add supabase jwks auth regression

This commit is contained in:
Codex
2026-06-30 01:45:29 +08:00
parent 3bd2ac1799
commit 3e741a2a23
9 changed files with 215 additions and 9 deletions

View File

@@ -22,6 +22,10 @@ MAX_IMPORT_JSON_BODY_BYTES=10485760
AUTH_SMS_PROVIDER=mock
AUTH_CODE_PEPPER=replace_with_a_long_random_secret
AUTH_SESSION_SECRET=replace_with_another_long_random_secret
# 生产推荐使用 Supabase Auth JWKS
# AUTH_JWT_ISSUER=https://<project-ref>.supabase.co/auth/v1
# AUTH_JWT_JWKS_URL=https://<project-ref>.supabase.co/auth/v1/.well-known/jwks.json
# 自托管或旧项目兼容才使用强随机 AUTH_JWT_SECRET配置 JWKS 时必须同时配置 issuer。
AUTH_JWT_ISSUER=
AUTH_JWT_AUDIENCE=authenticated
AUTH_JWT_SECRET=development-jwt-secret-change-me