1
0
Fork 0
mirror of https://github.com/imjasonh/gitscrub synced 2026-07-06 18:42:21 +00:00
gitscrub/.env.example
Jason Hall 4a77cbcfb0
Switch from OAuth device flow to standard OAuth2 web flow
- Replace device flow with standard OAuth2 authorization code flow
- Add auth-start.js and auth-callback.js Netlify functions
- Create AuthSuccess page to handle OAuth callbacks
- Remove device flow UI components and polling logic
- Add CSRF protection with state parameter
- Update all documentation to reflect web flow
- Remove unauthenticated access - authentication now required
- Update tests for new authentication requirements
- Add test helper script for Netlify dev server

This provides a more familiar OAuth experience where users are
redirected to GitHub for authorization rather than entering codes.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-16 16:05:06 -04:00

5 lines
No EOL
329 B
Text

# GitHub OAuth App Configuration for Netlify Functions
# Create a GitHub OAuth App at https://github.com/settings/applications/new
# Set the Authorization callback URL to: https://your-app.netlify.app/.netlify/functions/auth-callback
GITHUB_CLIENT_ID=your_github_client_id_here
GITHUB_CLIENT_SECRET=your_github_client_secret_here