npmrun
5c49335c86
feat: enhance authentication UI with Google login option and improve layout
- Added Google login functionality to the registration page.
- Updated the login and registration forms with a new layout and branding elements.
- Improved user experience with loading states and form validation.
- Removed unused background elements for a cleaner design.
2 weeks ago
npmrun
365069f711
feat: 添加 Gitea OAuth 支持,更新环境变量和登录页面
3 weeks ago
npmrun
9143e7d00a
feat: 更新用户信息显示逻辑,支持昵称或用户名;增强 OAuth 登录流程的错误处理与日志记录;优化 API 路径保护逻辑,添加前端页面访问控制
3 weeks ago
npmrun
d853f2ad25
feat(oauth): 实现 GitHub OAuth2 登录功能
功能概述:
- GitHub OAuth2 登录(新用户自动注册,已注册用户账号绑定)
- OAuth 状态管理(CSRF 防护,5 分钟 TTL)
- 完整的 API 接口(authorize、callback、bindings、status、bind、unbind)
- 登录页集成 GitHub 登录按钮
数据库:
- 新增 oauth_accounts 表存储第三方账号绑定
- 提供数据库迁移 SQL
API 接口:
- GET /api/auth/oauth/:provider/authorize - 生成授权 URL
- GET /api/auth/oauth/:provider/callback - 处理 OAuth 回调
- GET /api/auth/oauth/bindings - 获取绑定列表
- GET /api/auth/oauth/:provider/status - 查询绑定状态
- DELETE /api/auth/oauth/:provider/unbind - 解绑账号
- POST /api/auth/oauth/bind - 绑定账号
文档:
- 设计文档 docs/superpowers/specs/2026-05-26-oauth2-design.md
- 实施计划 docs/superpowers/plans/2026-05-26-oauth2-implementation-plan.md
- API 文档 docs/superpowers/oauth2/API.md
- Provider 配置 docs/superpowers/oauth2/PROVIDERS.md
- 使用指南 docs/superpowers/oauth2/README.md
- 流程图 docs/superpowers/oauth2/FLOW.md
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
3 weeks ago
npmrun
b0ad1754c8
feat(auth): add toast notifications to register page
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
4 weeks ago
npmrun
7ba33aa7d5
feat(auth): add toast notifications to login page
4 weeks ago
npmrun
2407eeec7c
docs: add admin users management design spec
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
4 weeks ago