Skip to content

Apple Sign In(OAuth 登录) #20

@robinv8

Description

@robinv8

AuthView 中 Apple 登录按钮是空操作,后端 auth.ts 只有邮箱注册/登录,无 OAuth 端点。需要完整实现 Apple Sign In,包括后端 OAuth 端点、iOS AuthenticationServices 集成、Keychain token 持久化、注销状态监听。

Status

  • Task Key: apple-sign-in
  • Spec Revision: aaa5e6d9
  • Approved Revision: aaa5e6d9
  • Approval State: approved
  • Current Stage: definition
  • Next Stage: run
  • Workflow Entry State: ready_to_start
  • Attempt Count: 0
  • Max Retry Count: 3
  • Code Publication State: not_applicable
  • Close On Done: auto
  • Depends On: none

Dependencies

(no dependencies)

Acceptance Criteria

  • Apple 登录流程在真机/模拟器完整跑通
  • 后端返回 JWT token 和 UserDTO
  • 登录态在 App 重启后通过 Keychain 恢复
  • 游客模式和 Apple 登录状态互斥

Verification

  • 真机/模拟器测试 Apple 登录完整流程
  • 验证 Keychain 中 token 持久化
  • 验证注销后清除 Apple 登录状态

Source

  • Spec: docs/prd/ios-improvement.md
  • Parent Issue: (no parent)

Metadata

Metadata

Assignees

No one assigned

    Labels

    P0最高优先级enhancementNew feature or requestiosiOS 客户端

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions