OAuth is the one part of creating an integration that requires new code to be deployed to the Trigger.dev platform.

This is required because users need to be routed to the third-party service to log in, and then back to Trigger.dev once they have authenticated. Their credentials are stored (encrypted at rest) in the Trigger.dev database and automatically refreshed before they expire.

An example: GitHub

You can view the GitHub OAuth configuration here. This file has configuration config for OAuth, details about the API Key implementation and metadata about the integration.

The catalog

Any new integration must be exported and them imported in the IntegrationCatalog.