OAuth Setup Guide
How sign-in with a source provider works, and how to connect a source provider account with an access token so DevLyTicks can sync your repositories.
DevLyTicks uses a source provider in two separate places, and they work differently.
What each one does:
- • Sign-in (OAuth) - You log in with GitHub, GitLab or Bitbucket. Authentication is handled by the provider, so DevLyTicks never sees your provider password
- • Repository access (access token) - An owner or admin adds a source provider account with a personal access token, and DevLyTicks uses it to discover and sync repositories
Magic links: You can also sign in with an email link, valid for 15 minutes, and add providers later.
- You choose GitHub, GitLab or Bitbucket on the sign-in page
- The provider shows the permissions DevLyTicks asks for and you approve them
- The provider sends you back to DevLyTicks
- Your account is created, or the identity is linked to your existing account when the email matches
You can link several identities and unlink them later from your account page. If you enable two-factor authentication, DevLyTicks asks for a code at sign-in.
The token decides which repositories DevLyTicks can see. You then choose which of them to track.
To add repositories:
Open Repositories, select Add Repository and pick from the discovered list. Repositories your token cannot read do not appear.
If a repository is missing:
Give the token access to it in your provider, then refresh the list. Free and Pro plans are limited to 5 and 25 repositories, and Enterprise is unlimited.
You can cut DevLyTicks off from a provider at any time.
From your provider:
Delete the personal access token, or remove the DevLyTicks authorization from your provider's applications settings
From DevLyTicks:
Organization Settings → Source Providers: remove the source provider account. To unlink a sign-in identity, use your account page
Note: Revoking access stops syncing. To delete the data that was already imported, use Delete All Data in the Danger Zone of Organization Settings.
The access token you add needs read access only. Here is what each permission is used for:
Read access to repositories
Why needed: Discover repositories and read commit history and repository metadata
Repository name and description • Contributor usernames • Commit history
Read access to pull requests
Why needed: Compute pull request, review and merge metrics
Pull requests and reviews • Merge activity
Read access to issues
Why needed: Monitor issue creation and closure
Issues and their lifecycle
Read access to organization teams (optional)
Why needed: Import teams from a GitHub organization with Sync From GitHub
Team names and members
Read access is enough: DevLyTicks does not need permission to write to your repositories.
Follow these steps to connect an account and let DevLyTicks sync its repositories.
Step 1: Create a Token
In your provider, create a personal access token with the read permissions above. Pick the shortest expiry your team can manage
Step 2: Open Source Providers
An organization owner or admin opens Organization Settings → Source Providers (or Integrations) and adds a source provider account
Step 3: Fill in the Account
Choose the provider (GitHub, GitLab, Azure DevOps, Bitbucket or AWS CodeBuild), give the account a name, check the Base URL and paste the token
Step 4: Test the Connection
Use Test connection to confirm the token is accepted. The token is encrypted before it is stored
Step 5: Add Repositories
Open Repositories, select Add Repository and choose what to track. The first sync starts automatically
Troubleshoot common sign-in and connection issues you might encounter.
Error: "Redirect URI mismatch"
This happens at sign-in when the callback URL doesn't match the provider's OAuth app.
Solution: Clear your browser cache and try again. If the issue persists, contact support.
Error: "Organization access required"
Your provider organization requires approval for third-party applications before they can read its data.
Solution: Ask an owner of the provider organization to approve access for the token or app.
Error: "The token was rejected"
The token is expired, revoked or missing permissions when you test the connection.
Solution: Create a new token with the read permissions above and update the account.
- •Review Permissions - Always review requested permissions before authorizing
- •Minimum Access - Give the token access only to repositories you want to analyze
- •Rotate Tokens - Use an expiry on every token and replace it before it lapses
- •Use a Service Account - Prefer a dedicated account over a personal one for shared tokens