This app now supports GitHub OAuth authentication using the Device Flow, which works without a backend server!
- ✅ Uses REST API (60 requests/hour)
- ✅ No setup required
- ✅ Works immediately
- ✅ Uses GraphQL API (5000 requests/hour)
- ✅ Faster performance
- ✅ Better rate limits
- ✅ No manual token management
- Go to GitHub Developer Settings
- Click "New OAuth App"
- Fill in the details:
- Application name:
IssueVista - Homepage URL:
http://localhost:4321(for development) or your production URL - Application description:
Find unassigned GitHub issues without PRs - Authorization callback URL: Leave empty (not needed for device flow)
- Application name:
- Click "Register application"
- Copy the Client ID (you'll need this next)
-
Create a
.envfile in the project root (copy from.env.example):cp .env.example .env
-
Add your GitHub Client ID to
.env:PUBLIC_GITHUB_CLIENT_ID=your_github_client_id_here -
Restart your development server:
npm run dev
- Open the app in your browser
- Click "Sign in with GitHub"
- You'll see a code (e.g.,
ABCD-1234) - Click "Open GitHub to Authorize"
- Enter the code on GitHub
- Return to the app - you're authenticated!
This app uses GitHub's Device Flow OAuth, which:
- ✅ Works entirely client-side (no backend needed)
- ✅ Doesn't expose client secrets
- ✅ Provides a secure authentication flow
- ✅ Stores tokens only in your browser's localStorage
If you prefer not to set up OAuth, you can still:
- Generate a Personal Access Token
- Paste it in the "Personal Access Token" field
- Or use the app without any token (limited to 60 requests/hour)
- Your OAuth app's Client ID is public (safe to commit)
- No Client Secret is needed for device flow
- Tokens are stored locally in your browser only
- The app never sends your token to any server except GitHub
For production:
- Update the Homepage URL in your GitHub OAuth app settings to your production domain
- Set the
PUBLIC_GITHUB_CLIENT_IDenvironment variable on your hosting platform - Deploy!
"GitHub OAuth is not configured" error
- Make sure you've created a
.envfile withPUBLIC_GITHUB_CLIENT_ID - Restart your dev server after adding the
.envfile
Authentication times out
- Make sure you entered the code on GitHub within the time limit
- Try signing in again to get a new code
Rate limit issues
- Without authentication: 60 requests/hour
- With authentication: 5000 requests/hour
- The app shows your remaining rate limit at the bottom