Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

An Identity is local or external, never both

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

Maintainer thường phản hồi trong vòng 1 ngày

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

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
52/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ệ
typescript
Lĩnh vực
authentication

Hướng nghiên cứu

Start with ADR-0002 and parent issue #41 to understand the local-versus-external Identity rule. Then trace Passkey link and device Enrollment and External identity binding entry points. Done when each prohibited path returns the dedicated error, an external Identity can hold at most one External identity, tests cover these cases and the first-Enrollment decision, and just ci passes.

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

Mô tả

ready-for-agent

Parent

#41

What to build

An Identity is either local (Passkeys) or external (exactly one External identity), never both (ADR-0002). The decision falls with its first Enrollment. Every path that would mix the two is refused: Passkey link Enrollment and device Enrollment on an external Identity, and binding an External identity to a local Identity.

Acceptance criteria

  • Passkey Enrollment (link and device) on an external Identity is refused with a dedicated error
  • Binding an External identity to an Identity holding Passkeys is refused
  • An external Identity holds at most one External identity
  • Tests cover each refused path and the first-Enrollment decision
  • just ci is green
Ngôn ngữ chính
TypeScript
Star
0
Fork
1
Merge trung bình
10 giờ 20 phút
Pull request đã merge (30 ngày)
36

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 myOmikron/code

Tất cả issue của myOmikron/code

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.