oidc auth requests http instead of https

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

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
38/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
azure, python
Lĩnh vực
authentication, cloud

Hướng nghiên cứu

Bắt đầu từ việc xây dựng OIDC redirect-URI được dash-auth sử dụng và so sánh với entry point app.run_server được cung cấp trên Azure App Service. Tái hiện chuyển hướng HTTP đã được báo cáo khi truy cập ứng dụng qua HTTPS, sau đó xác minh rằng URI được tạo vẫn giữ HTTPS và luồng xác thực vẫn hoạt động.

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

Mô tả

Hello Folks,

Thank you for this great extension to dash.

I have just deployed an app to Azure App Service and it generally works well. The last thing that I have added is to integrated (Azure Entra/AD) as authentication method. It seems to work in general, but for some reason even when I type in https://{appname}.{region}.azurewebsites.net the auth module requests a redirect_uri with http instead of https (see screenshot below). The AD administration team of course wants me to use https and I myself want that as well.
screenshot_http_requested

Every app deployed on Azure App Service has a certificate/ssl/https on board and should be usable. At least that's my understanding. Does someone have a hint what I can do about this?

I currently start the server as following:

if __name__ == '__main__':
    app.run_server(host='0.0.0.0', port=int(os.environ.get('PORT', 8050)))

Any help is much appreciated.

Have a good day

Ngôn ngữ chính
Python
Star
135
Fork
67
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

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 plotly/dash-auth

Tất cả issue của plotly/dash-auth

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.