Accessing Authorized Images in HTML View

Open
#1,139 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
google-cloud, jupyter, python

Research direction

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.

Written by the indexing model from the issue text.

Description

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?

Dominant language
Python
Stars
734
Forks
411
Avg merge
1d 2h
Merged PRs (30d)
9

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ipython/ipykernel

All issues in ipython/ipykernel

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.