Skip to content

fix: login error outside Colab now says what to do - #9550

Open
atlaie wants to merge 1 commit into
OpenMined:devfrom
atlaie:fix/auth-error-points-to-docs
Open

atlaie wants to merge 1 commit into
OpenMined:devfrom
atlaie:fix/auth-error-points-to-docs

Conversation

@atlaie

@atlaie atlaie commented Oct 2, 2026

Copy link
Copy Markdown

Logging in outside Colab without a token now raises an error that tells the user to pass token_path=... and points to docs/auth.md (about 15 minutes), closing UX audit findings H-003, H-006, H-008 and AI-003 to AI-006. This is a message-only change in syft/sync/login.py, whose message is shared by sy.login_do, sy.login_ds and sy.login (and reached from syft_rds.login_do / login_ds); the exception type is still NotImplementedError, and the two test assertions in tests/integration/without_unit_coverage/test_login.py were updated from "token path" to "token_path".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant