fengling-console-web/apps/web-ele/.env.development
Sam c0874bfab8 feat: implement OAuth2 integration in web-ele
- Add OAuth2 configuration and PKCE service
- Update request interceptor for OAuth2 token management
- Update auth API for OAuth2 token handling
- Update auth store for OAuth2 flow
- Create OAuth callback page
- Update login page for OAuth2
- Add OAuth callback route
- Update environment configuration for OAuth2
2026-02-06 01:47:05 +08:00

23 lines
588 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 端口号
VITE_PORT=5777
VITE_BASE=/
# 接口地址 - Fengling Console Backend
VITE_GLOB_API_URL=http://localhost:5231/api
# OAuth 认证中心配置
VITE_AUTH_SERVICE_URL=http://localhost:5000
VITE_OAUTH_CLIENT_ID=fengling-console
VITE_OAUTH_REDIRECT_URI=http://localhost:5777/auth/callback
VITE_OAUTH_SCOPE=api offline_access openid profile email roles
# 是否开启 Nitro Mock服务true 为开启false 为关闭
VITE_NITRO_MOCK=false
# 是否打开 devtoolstrue 为打开false 为关闭
VITE_DEVTOOLS=false
# 是否注入全局loading
VITE_INJECT_APP_LOADING=true