Is`OktaCredentialsProvider.handle_saml_assertion` compatible with SageMaker instances?
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
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- aws, python
- Lĩnh vực
- authentication, databases
Hướng nghiên cứu
Bắt đầu trong redshift_connector/plugin/okta_credentials_provider.py tại handle_saml_assertion, đặc biệt là dòng 158, và so sánh cách xử lý response giữa một máy cục bộ và SageMaker. Xác nhận liệu response từ SageMaker có thể được xử lý tương thích hay không, đồng thời ghi lại một bài kiểm thử có thể tái hiện hoặc hành vi dự kiến cho bản sửa lỗi.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
I'm encountering an issue when using redshift_connector with Okta-based authentication inside my organisation's SageMaker environment.
In OktaCredentialsProvider.handle_saml_assertion I receive an error okta_credentials_provider.py#L158 despite receiving a 200 OK and a response of length > 2k.
Upon investigating the logs it seems to be down to a browser or Javascript issue? I've tried on both SageMaker Studio Code Editor and SageMaker Notebook instances and get the same issue.
It's also strange that OktaCredentialsProvider.okta_authentication works perfectly and I'm able to retrieve the okta_session_token, but the later step fails.
The same identical code works perfectly on my local machine.
I've attached the relevant part of the response below:
...
</style><noscript>
<div id="noscript-msg" class="noscript-msg">
<div class="noscript-content">
<h2>Javascript is required</h2>
<h1>Javascript is disabled on your browser. Please enable Javascript and refresh this page.</h1>
<a href="." class="tb--button">Refresh</a>
</div>
</div>
</noscript>
<div id="signin-container"></div>
<div id="okta-sign-in" class="auth-container main-container hide">
<div id="unsupported-onedrive" class="unsupported-message hide">
<h2 class="o-form-head">Your OneDrive version is not supported</h2>
<p>Upgrade now by installing the OneDrive for Business Next Generation Sync Client to login to Okta</p>
<a class="button button-primary tb--button" target="_blank"
href="https://support.okta.com/help/articles/Knowledge_Article/Upgrading-to-OneDrive-for-Business-Next-Generation-Sync-Client">
Learn how to upgrade</a>
</div>
<div id="unsupported-cookie" class="unsupported-message hide">
<h2 class="o-form-head">Cookies are required</h2>
<p>Cookies are disabled on your browser. Please enable Cookies and refresh this page.</p>
<a class="button button-primary tb--button" target="_blank" href=".">
Refresh</a>
</div>
</div>
</div>
...
<div id="inactive-tab-main-div" class="hide">
<div class="inactive-tab-container">
<div class="inactive-tab-header">
<img src="https://ok9static.oktacdn.com/fs/bco/1/fs06gw7t96dekMGCH417" alt="Flutter UK&I"
class="report-org-logo" />
<div class="divider"></div>
</div>
<div class="inactive-tab-content">
<h2 class="inactive-tab-content-title">The page has timed out</h2>
<p class="inactive-tab-details">If this page does not reload automatically, please refresh your browser.</p>
</div>
</div>
</div>
- Ngôn ngữ chính
- Python
- Star
- 220
- Fork
- 88
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của aws/amazon-redshift-python-driver
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 74/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 30/100
aws/amazon-redshift-python-driver#268 · 2 reaction ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
aws/amazon-redshift-python-driver#265 · 1 bình luận · 4 reaction ·
-
VARBYTE is decoded into utf-8Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 48/100
aws/amazon-redshift-python-driver#260 · 5 bình luận · 2 reaction ·
Tất cả issue của aws/amazon-redshift-python-driver
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
NousResearch/hermes-plugin-claude-subscription-directsdk#94 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Claiming namespace `reactogenic`Đang mởnamespace operations
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
EclipseFdn/open-vsx.org#13702 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
modelscope/ms-swift#10287 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
modelscope/FunASR#3757 ·
Maintainer thường phản hồi trong vòng 1 ngày