Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

feat(gh): add gh authorize and logout commands#446

Open
eduardoRoth wants to merge 3 commits intomainherodevs/cli:mainfrom
feat/eroth/gh-authherodevs/cli:feat/eroth/gh-authCopy head branch name to clipboard
Open

feat(gh): add gh authorize and logout commands#446
eduardoRoth wants to merge 3 commits intomainherodevs/cli:mainfrom
feat/eroth/gh-authherodevs/cli:feat/eroth/gh-authCopy head branch name to clipboard

Conversation

@eduardoRoth
Copy link
Member

Initial implementation for GitHub Apps integration.

Added the following commands:

  • gh authorize | uses the device flow to get an access token
  • gh logout | removes the saved tokens

@eduardoRoth eduardoRoth requested a review from a team as a code owner December 5, 2025 23:55
const DEFAULT_GH_ACCESS_KEY = 'gh_access_token';
const DEFAULT_GH_REFRESH_KEY = 'gh_refresh_token';

export const GH_CLIENT_ID = process.env.GH_CLIENT_ID ?? DEFAULT_GH_CLIENT_ID;
Copy link
Member

Choose a reason for hiding this comment

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

do we need to add these env vars to .envrc.example ?

@KLongmuirHD
Copy link
Contributor

let's hold off on these PRs, these were more experimental, Proof of Concept.

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.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.