Improve SAML configuration creation and consumption flow

Đang mở
#7,527 2 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
48/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
python, react

Hướng nghiên cứu

Không có tệp hoặc bài kiểm thử nào được nêu tên. Hãy bắt đầu bằng cách lần theo luồng tạo cấu hình SAML của API và phần xử lý đăng nhập ở frontend cho flag sso_idp hiện có. Được xem là hoàn tất khi tên duy nhất được tạo, có luồng xác nhận tùy chọn, có URL đăng nhập SSO tùy chỉnh và có màn hình SSO riêng cho người dùng chưa xác thực mà không có biểu mẫu đăng nhập thông thường.

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

Mô tả

There are 2 main issues with the SAML configuration creation and consumption flow:

  1. When creating a SAML configuration, the user needs to add a 'name'
  2. Authenticating users have to input this name when using SAML to authenticate with that organisation

I'd like to improve this by removing the manual input step, and giving organisations dedicated URLs to login so they don't need to enter the name.

The suggested approach is to have the API generate the name for them which should be a slug of their organisation name. If this already exists, the API should add additional random characters to the end of the name. The user should be able to modify the name if they choose to, but the input should not be editable by default. If the user submits a name that is already taken, the system should automatically add random characters to the end of the name, and present it back to them for confirmation.

When the SAML configuration is created, they should be given a custom Login URL that looks something like: https://app.flagsmith.com/login/?sso_idp=<configuration-name>. On browsing to that URL in an unauthenticated browser, the user should not be prompted with the regular login screen (as is the current behaviour if they set the sso_idp flag), but they should see a screen that just has a single button with the text 'Login to Flagsmith with SSO' or similar.

Ngôn ngữ chính
Python
Star
9.9k
Fork
658
Merge trung bình
1 ngày 15 giờ
Pull request đã merge (30 ngày)
168

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 Flagsmith/flagsmith

Tất cả issue của Flagsmith/flagsmith

Issue tương tự

Thêm issue về Python

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.