aurask/protal/README.md
Aaron 4e2639ea43
All checks were successful
aurask-release / build-and-deploy (push) Successful in 1m52s
Remove LY SSO sign-in flow
2026-04-19 21:23:27 +08:00

44 lines
972 B
Markdown
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.

# Aurask Protal
`protal/` 是用户门户目录,目录名按既定要求保留为 `protal`
## 当前页面能力
- 未登录时渲染 `/signin` 风格登录页
- 支持 Google 登录入口
- 新用户首次登录自动创建独立 workspace
- 登录后显示:
- `Workflows`:内嵌 Langflow
- `Knowledge Base`:内嵌 AnythingLLM
- 右上角个人中心展示用户、租户、workspace 与基础额度信息
## 依赖接口
门户依赖以下 API
- `GET /auth/config`
- `POST /auth/google/login`
- `GET /auth/session`
- `POST /auth/logout`
## 部署说明
门户默认假设:
- 生产环境通过 `https://aurask.xyz`
- API 通过 `https://aurask.xyz/api`
- Langflow iframe 通过 `https://aurask.xyz/runtime/langflow/`
- AnythingLLM iframe 通过 `https://aurask.xyz/runtime/anythingllm/`
本地调试时会自动回退到:
```text
http://127.0.0.1:8080
```
## 静态资源
- `protal/index.html`
- `protal/main.js`
- `protal/styles.css`