How can Cup's Capacitor 8 iOS shell run the native Apple sheet and hand Supabase an ID token bound to a nonce?

Đang mở
#467 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ó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
ios, supabase, typescript
Lĩnh vực
authentication, mobile

Hướng nghiên cứu

Start by reading apps/mobile-app, the iOS adapter under apps/web-app/src/platform, and the existing WebAuthentication plugin. Compare maintained Apple sign-in plugins with a local Capacitor plugin for Capacitor 8 and SPM compatibility, nonce handling, cancellation and errors, authorization-code access, and maintenance. Done means documenting the options and recommending how the app can return the token, code, and first-sign-in name and email to the web app for Supabase.

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

Mô tả

wayfinder:research

Question

Which ways exist to show ASAuthorizationAppleIDProvider's native sheet from Cup's Capacitor 8 iOS shell and return the identity token, the authorization code, and the first-sign-in name and email to the web app: maintained community plugins (such as @capacitor-community/apple-sign-in or Capawesome's) versus a hand-written plugin next to the app's own WebAuthentication plugin. For each: Capacitor 8 and SPM support, nonce handling (raw versus SHA-256), cancellation and error reporting, whether it exposes the authorization code, maintenance, and how it fits apps/mobile-app and the iOS adapter in apps/web-app/src/platform.

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.