Releases: grll/claude-code-login
Releases · grll/claude-code-login
v1.0.0 - Claude Code OAuth GitHub Action
🚀 Claude Code OAuth Action - Latest Release
Latest Updates
- Latest commit:
c936f1b - Changes: improve branding
- Updated: 2025-06-28 10:28:25
Features
- Complete OAuth 2.0 + PKCE authentication flow
- Two-step GitHub Actions workflow (URL generation → token exchange)
- Secure credential storage with proper error handling
- TypeScript implementation with comprehensive test suite
- Ready for GitHub Marketplace publication
- Custom branding with log-in icon and orange color
- Optimized for GitHub Actions environment
Usage
Create .github/workflows/claude-oauth.yml:
name: Claude OAuth
on:
workflow_dispatch:
inputs:
code:
description: 'Authorization code (leave empty for step 1)'
required: false
jobs:
auth:
runs-on: ubuntu-latest
steps:
- uses: grll/claude-code-login@v1
with:
code: ${{ inputs.code }}What's Included
- OAuth URL generation with PKCE security
- Authorization code exchange for access tokens
- Credential persistence to credentials.json
- GitHub Actions integration with proper outputs
- Comprehensive error handling and user guidance
- Optimized action configuration
Files
action.yml- GitHub Action definition with proper setupindex.ts- Main OAuth implementationindex.test.ts- Test suite (25 tests, 100% pass)README.md- Documentation and usage guidescripts/- Automation scripts
Getting Started
- Copy the workflow YAML above to your repository
- Run the workflow without code parameter to get login URL
- Follow the OAuth flow and get your authorization code
- Run the workflow again with the authorization code
- Your credentials will be saved to
credentials.json
Perfect for CI/CD workflows that need Claude Code authentication!
This release was automatically updated to include the latest changes.