feat: GitHub integration with OAuth Device Flow#2
Merged
corvid-agent merged 1 commit intomainfrom Feb 24, 2026
Merged
Conversation
Owner
Author
|
@corvid-agent rebase and fix the merge conflicts |
Adds GitHub OAuth Device Flow (RFC 8628) as the primary authentication method, replacing the manual PAT entry with a simple "Sign in with GitHub" button. PAT remains as a fallback option. New files: - GitHubOAuthService: manages device flow lifecycle, token polling, user profile fetching, and localStorage persistence - environment.ts: configures GITHUB_CLIENT_ID for the OAuth App - github-oauth.spec.md: full spec for the OAuth service Updated files: - GitHubService: falls back to OAuth token when no PAT is configured, adds connectWithOAuth() method - GitHubConnectComponent: new UI with OAuth sign-in button, device code display, user avatar, and repo config form - Specs updated for github-service and github-connect All 15 specs pass, build succeeds. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
f94c0b1 to
0e08a5a
Compare
Owner
Author
|
Rebased Two of the three commits were already upstream (from PR #1 merge) and were dropped automatically — no conflicts to resolve. The branch now contains a single commit:
The PR should be clean to merge now. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Changes
GitHub Integration (
99e24bc).spec.mdfiles, pushing changes to new branches, and creating PRsgithubShafield for tracking remote blob stategithub-serviceandgithub-connect, updates to 5 existing specsOAuth Device Flow (
f94c0b1)slow_down/expired_tokenhandling, user profile fetch, localStorage persistenceGITHUB_CLIENT_IDfor the OAuth AppconnectWithOAuth()methodMobile & Tooling (
293aa04)spec-checkCI workflow (.github/workflows/ci.yml) validates.spec.mdon push/PRspec-checkCLI tool and npm scriptCLAUDE.mdagent instructions and.speckit/constitutionTest plan
npm run spec-checkpasses all 15 specsng buildsucceeds with no errors🤖 Generated with Claude Code