A SAML sso_url that is not https should be refused when the configuration is saved

Đang mở
#1,100 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ó
3/5
Thời gian dự kiến
Nửa ngày
Mức phù hợp với người mới
76/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python

Hướng nghiên cứu

Start with docs/auth/sso.md to confirm the documented HTTPS requirement, then trace the SAML configuration create/update validation and sign-in URL handling. Add validation so non-HTTPS sso_url values return 400 outside ENVIRONMENT=test, with a clear error message and corresponding tests. The issue is done when insecure URLs cannot be saved or used and the expected response is covered by tests.

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

Mô tả

bug post-launch

docs/auth/sso.md says a SAML configuration's sso_url must be https, but neither saving the configuration nor signing in checks it: a SAML configuration with an http:// sso_url is saved and used.

Expected: creating or updating a SAML configuration with a non-https sso_url answers 400 with a clear message (outside ENVIRONMENT=test), as an Okta configuration now does (#1095), with its own tests.

Ngôn ngữ chính
Python
Star
0
Fork
4
Merge trung bình
5 giờ 19 phút
Pull request đã merge (30 ngày)
503

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 Controlvar/controlvar

Tất cả issue của Controlvar/controlvar

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.