OpenID provider admin handlers, deactivation and plain delete

Đang mở
#46 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
45/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, backend

Hướng nghiên cứu

Start by reading the OpenID provider admin-handler module and how the service mounts it behind its role layer; then trace the OIDC login flow and how External identities reference providers. Check the existing tests for those entry points, and run just ci. Done means the acceptance criteria hold for create, edit, deactivate/reactivate, and delete, with no handler-level auth checks and unique operation ids.

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

The module provides admin handlers for OpenID providers, which the service mounts behind its own role layer.

  • Create, edit, deactivate/reactivate, delete.
  • The client secret is never returned, only overwritten.
  • Identifying claim and issuer are frozen once an External identity references the provider.
  • Deactivating blocks the provider's OIDC login and keeps everything; reactivating restores it.
  • Plain delete is only allowed while no External identity references the provider.

Acceptance criteria

  • No handler response contains the client secret; editing can overwrite it
  • Changing the identifying claim or issuer of a referenced provider is refused
  • A deactivated provider's OIDC login is refused; reactivating restores it with all External identities intact
  • Plain delete of a referenced provider is refused; of an unreferenced one succeeds
  • Handlers carry no auth checks of their own (the service's role layer guards them); operation ids are unique
  • just ci is green
Ngôn ngữ chính
TypeScript
Star
0
Fork
1
Merge trung bình
15 giờ 50 phút
Pull request đã merge (30 ngày)
168

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.