Skip to content

fix: jupyterlab#224

Open
echarles wants to merge 14 commits intomainfrom
fix/jlab
Open

fix: jupyterlab#224
echarles wants to merge 14 commits intomainfrom
fix/jlab

Conversation

@echarles
Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings April 28, 2026 04:30
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adjusts authentication redirect behavior in useDatalayer to better support JupyterLab/Jupyter-served paths by resolving the appropriate login route when a 401 is returned.

Changes:

  • Add resolveLoginRoute helper to derive a Jupyter-aware login path when loginRoute is the default '/login'.
  • Update 401 handling to navigate to the resolved login route and avoid redirect loops when already on a login page.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 28, 2026

Deploy Preview for datalayer-core failed.

Name Link
🔨 Latest commit 04bad32
🔍 Latest deploy log https://app.netlify.com/projects/datalayer-core/deploys/69fb841ea86b6300094fee62

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants