Update IaC to generate multiple app registrations

Đang mở
#397 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
Đình trệ
Công nghệ
azure

Hướng nghiên cứu

Bắt đầu bằng cách xác định các định nghĩa Bicep tạo app registration hiện tại và xác định cách các môi trường, API và front-end được biểu diễn. Cập nhật hạ tầng để tạo các registration riêng biệt cho những thành phần đó trong từng môi trường, sau đó xác minh rằng cấu hình được tạo ra vẫn tách biệt các mối quan tâm của API và front-end.

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

Mô tả

Describe Problem

Currently, we use the same app registration / client id for the API and the front-end.
Since these two are different clients with different concerns, it is recommended to havve separate app registrations for the different applications / clients.

Some issues that show up when using a single app registration:

  • The API does not need reply urls or the OpenID Connect scopes
  • The front-end is a public client (until #391 is implemented), but the API is a confidential client
  • The API may need additioanl scopes / API-permissions to call different services, which are not intended to be called directly from the front end
Suggest Solution

Create different app registrations (via bicep) for the different components (and environments)

Additional Details
Ngôn ngữ chính
TypeScript
Star
106
Fork
15
Merge trung bình
1 ngày 4 giờ
Pull request đã merge (30 ngày)
29

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

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 equinor/template-fastapi-react

Tất cả issue của equinor/template-fastapi-react

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.