Choose an authentication model
Each source control provider can expose one or more authentication methods:- OAuth - users sign in through the source control provider
- Personal access token - users provide their own token
- use OAuth when you want a smoother user sign-in flow
- use PATs when your provider setup or internal policy favors user-managed tokens
- enable both if you want flexibility during rollout
Add a provider
In the runner settings, click Add a provider and select the source control provider.
github.com, or enter your self-hosted source control hostname.
If you need to support multiple hosts, add one provider entry per host.


Validate the setup
After saving:- open a repository on that host
- start an environment on the runner
- complete the user authentication flow if prompted

How authentication behaves
Users authenticate per source control host. Ona stores the resulting credentials in encrypted form so users do not need to repeat the same sign-in flow every time they start an environment. If an admin disables an authentication method or deletes a provider integration, affected stored credentials are removed and users must authenticate again.Troubleshooting
Repository clone fails immediately- confirm the provider host matches the actual repository host
- confirm the user completed authentication for that host
- confirm the repository exists on a supported provider for the configured runner
- confirm the provider configuration was saved successfully
- confirm the authentication method they used is still enabled
- if the integration changed, expect users to authenticate again
- this page still matters for public repositories, because the runner needs a configured provider to know how to access that host