How does Cup exchange Apple's authorization code and revoke Apple tokens from a Cloudflare Worker?

Đang mở
#469 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
Nửa ngày
Mức phù hợp với người mới
53/100
Loại issue
Tài liệu
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
authentication

Hướng nghiên cứu

Start by locating the Cloudflare Worker’s Sign in with Apple flow and its use of jose; the issue does not name specific files or tests. Document how /auth/token and /auth/revoke work, which client ID applies to each flow, token lifetimes and single use, revocation effects, and server-to-server notification setup and verification.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

wayfinder:research

Question

What a Cloudflare Worker needs to exchange a Sign in with Apple authorization code for a refresh token and later revoke it: Apple's /auth/token and /auth/revoke REST endpoints, the ES256 client secret signed with the Sign in with Apple key (with jose), which client ID applies to codes from the native sheet versus the web flow, the code's lifetime and single use, refresh-token lifetime, what revocation does to the user's Apple ID settings, and how server-to-server notifications are registered, signed and verified.

Ngôn ngữ chính
TypeScript
Star
1
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của patricktree/cup

Tất cả issue của patricktree/cup

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.