Repository navigation
[HWORKS-3812] Git provider: log in with GitHub instead of a token - #799
gibchikafa wants to merge 2 commits into
Conversation
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
jimdowling
left a comment
There was a problem hiding this comment.
Review of HWORKS-3812 against the JIRA description.
- [P2] The page should say that an organization may need to approve the OAuth app before its private repositories are reachable with the login (inline).
Review: Codex deep review (built-in review, then adversarial review) plus Claude, each finding checked against the code. P0 to P2 posted; P3 nits left out.
| The login is stored the same way as a personal access token, so everything that uses your Git provider credential uses it: Git operations on repositories, jobs, apps and agent deployments started from a Git repository, Jupyter and the terminal. | ||
| It replaces a token saved earlier for `github.com`. |
There was a problem hiding this comment.
[P2] Mention organization approval of the OAuth app
The login is an OAuth app token, not a personal access token. GitHub turns on OAuth app access restrictions by default for new organizations. Until an organization owner approves the app, its private repositories stay unreachable with this login (GitHub docs). Since the login replaces an earlier token for github.com, a user whose token worked can lose access to their organization's repositories after logging in.
Suggestion: add a note here. If clones of an organization's repositories fail after logging in, an owner of that organization has to approve the app (GitHub offers a Request button on the authorization page), or configure a token instead.
There was a problem hiding this comment.
Added in 6ebf8bf: a warning under the login steps (approval by an owner, the Request button, or going back to a token), a line in the administrator note, and a sentence telling users to enter only a code they started themselves.
…Hub login Review round 2: the login is an OAuth app token, which an organization with OAuth app restrictions blocks until an owner approves the app. Also which proxies the login supports, and to enter only a code you started yourself. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Documents logging in to GitHub from Account settings → Git Providers instead of creating a personal access token, with the administrator setup (OAuth app with the device flow enabled,
github_device_login_client_id). No screenshot yet.Related pull requests
Jira: https://hopsworks.atlassian.net/browse/HWORKS-3812
🤖 Generated with Claude Code