ipython / ipython/ipykernel

Accessing Authorized Images in HTML View

Đang mở
#1,139 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
734
Fork
412
Merge trung bình
1 ngày 5 giờ
Pull request đã merge (30 ngày)
8

Mô tả

Hi I'm currently trying to render images in a HTML ipykernel display view in VSCode. I have two images links, one is a public facing cdn bucket on GCS and a `https://storage.cloud.google.com` url in private bucket on GCS.

As expected, the CDN url works fine but the private bucket path fails to load as I haven't provided any authorization to access these images.
Screen Shot 2023-08-02 at 4 38 54 PM

Is there any way to attach my Auth token to my ipykernel display session (is that even a thing?) when it makes any remote requests?

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

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

Hướng nghiên cứu

The issue names no files, tests, or entry points. Start by investigating how ipykernel's HTML display view in VSCode handles remote image requests, especially private Google Cloud Storage URLs and authorization tokens. Done means establishing whether authenticated requests are supported and defining the expected behavior.

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

Đánh giá

Công nghệ
google-cloud, jupyter, python
Lĩnh vực
authentication, frontend, web-dev
Loại issue
Tính năng
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/100

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.