Connect a GitHub user
- In Veryfront, open the project that needs GitHub tools.
- Start the GitHub connection from the integration prompt or project integration settings.
- Sign in to GitHub and approve the requested access.
- Run a read-only GitHub tool, such as listing repositories, to verify the connection.
Use your own GitHub OAuth app
- In GitHub Developer Settings, create an OAuth App.
- Add the exact callback URL for the target environment:
- Production:
https://api.veryfront.com/oauth/callback/github - Staging:
https://api.veryfront.org/oauth/callback/github
- Production:
- These are the hosted Veryfront provider-adapter callbacks. Do not replace
them with the
veryfront/oauthframework callback path. A self-hosted framework application instead registers its ownAPP_URLorigin with/api/auth/github/callback. - For another hosted environment, copy the callback URL displayed by its Veryfront OAuth connection flow. A GitHub OAuth App can serve more than one route only when GitHub’s host, port, and callback-path rules accept the route. The hosted production and staging URLs above do not share a base host, so use separate OAuth Apps for them.
- Set the OAuth app client ID and client secret as project environment variables:
Keep the secret in your approved secret manager. Never place it in agent
prompts, project files, tickets, or client-side environment variables.
Verify it worked
- Start a new agent run that uses a read-only GitHub tool.
- Confirm the tool returns the connected user’s GitHub data.
Related
- veryfront/integrations: Connector catalog and helper API.