GitHub OAuth Setup
Configure GitHub OAuth App for browser-based GitHub login.
When to Use OAuth
Section titled “When to Use OAuth”- You prefer the standard Log in with GitHub browser flow
- Your team members will log in with their own GitHub accounts
- Your organization manages app access through GitHub OAuth App approvals
For the fastest single-user setup, a Personal Access Token may be simpler.
Step 1: Create a GitHub OAuth App
Section titled “Step 1: Create a GitHub OAuth App”- Go to GitHub → Settings → Developer settings → OAuth Apps
- Click New OAuth App
- Fill in the application details:
| Field | Value |
|---|---|
| Application name | ActionsManager (or your preferred name) |
| Homepage URL | http://localhost:8080 (or your deployment URL) |
| Authorization callback URL | http://localhost:8080/auth/callback |
- Click Register application
- Copy the Client ID
- Click Generate a new client secret and copy the Client Secret
Step 2: Configure the Container
Section titled “Step 2: Configure the Container”Pass the OAuth credentials as environment variables when starting ActionsManager:
# Generate a stable SECRET_KEY once and reuse it on every start:# SECRET_KEY=$(openssl rand -hex 32)docker run -d \ --name actions-manager \ -p 8080:8080 \ -v actions-manager-data:/app/data \ -e INSTALLATION_MODE=self-hosted \ -e SECRET_KEY=<your_generated_key> \ -e ALLOW_INSECURE_HTTP=true \ -e VITE_BACKEND_URL=http://localhost:8080 \ -e VITE_FRONTEND_URL=http://localhost:8080 \ -e VITE_WEBSOCKET_URL=ws://localhost:8080/ws \ -e GITHUB_CLIENT_ID=your_client_id \ -e GITHUB_CLIENT_SECRET=your_client_secret \ ghcr.io/greywolflabs/actions-manager:latestALLOW_INSECURE_HTTP=true is required because these URLs are plain HTTP; drop it once you register HTTPS URLs and put ActionsManager behind a TLS reverse proxy — see HTTPS Setup.
Or in Docker Compose (using a .env file):
environment: - ALLOW_INSECURE_HTTP=true - GITHUB_CLIENT_ID=${GITHUB_CLIENT_ID} - GITHUB_CLIENT_SECRET=${GITHUB_CLIENT_SECRET}Step 3: Log In with GitHub
Section titled “Step 3: Log In with GitHub”- Open
http://localhost:8080 - Click Log in with GitHub
- GitHub redirects to the authorization page
- Authorize the OAuth App
- GitHub redirects back to ActionsManager
Using Both OAuth and PAT
Section titled “Using Both OAuth and PAT”You can use OAuth login AND save a Personal Access Token for API operations:
- OAuth provides the browser login session
- The saved PAT is used for GitHub API calls (workflow management, PR creation, etc.)
- If a PAT is saved, it takes precedence over the OAuth token for API operations
See GitHub PAT Setup for PAT management.
Troubleshooting OAuth Issues
Section titled “Troubleshooting OAuth Issues”Redirect URI mismatch: The VITE_BACKEND_URL environment variable must exactly match the Homepage URL registered in your GitHub OAuth App. Update both if you change deployment URLs.
OAuth App requires approval: Some GitHub organizations require OAuth Apps to be approved by an organization admin before members can authorize them.
Sign in button not appearing: Check that GITHUB_CLIENT_ID is set and the container was restarted after adding it.
© 2026 ActionsManager. All rights reserved.