Default OAuth 2.0 App
Overview
OAuth 2.0 allows users to authorize your app to access their Linear workspace data. At the end of the OAuth flow, your app receives an access token that enables interaction with the Linear GraphQL API and webhook events.
To use your own OAuth 2.0 app, see the Private OAuth guide.
To use personal API keys, see the API Keys guide.
Linear Documentation
Background information: OAuth 2.0 authentication
Create a Linear OAuth App
-
Navigate to your Linear workspace settings
-
Go to Settings → Security & access → OAuth applications
-
Click Create new OAuth application
-
Configure the OAuth application:
- Name: Choose a descriptive name (e.g., "AutoKitteh Integration")
- Redirect URL: Enter
https://PUBLIC-AK-ADDRESS/oauth/redirect/linear - Description: Optional description of your integration
You must replace PUBLIC-AK-ADDRESS in the redirect URL with the AutoKitteh server's public address:
- AutoKitteh public cloud:
api.autokitteh.cloud - Self-hosted servers: the public tunnel address
-
Click Create to create the OAuth application
-
After creation, you'll see your app's credentials:
- Client ID
- Client Secret (click "Show" to reveal it)
-
Make a note of both values for the AutoKitteh server configuration
AutoKitteh Server
Configure the AutoKitteh server with the following environment variables.
Restart the AutoKitteh server for these settings to take effect.
Set this environment variable, based on the AutoKitteh server's public tunnel address:
WEBHOOK_ADDRESS- Just the address, without the
https://prefix, and without a path suffix
- Just the address, without the
Also set these environment variables, based on the values you copied from the OAuth app:
LINEAR_CLIENT_IDLINEAR_CLIENT_SECRET
AutoKitteh Connections
When you create or edit the connection in an AutoKitteh project:
-
Select the "Linear" connection type, if not selected yet
-
Select the "Default OAuth 2.0 app" authentication type
-
Click the "Start OAuth Flow" button
-
You'll be redirected to Linear to authorize the application
-
After authorization, you'll be redirected back to AutoKitteh with an active connection