Authentication Methods
The Notion plugin supports two authentication methods:api_key(default) — Internal integration secret (starts withsecret_)oauth_2— Notion OAuth 2.0 for user / workspace authorization
API Key (Internal Integration)
Step 1: Create an Internal Integration
- Open My integrations in Notion.
- Click New integration.
- Choose the Associated workspace and give the integration a name.
- Under Capabilities, enable the content capabilities your app needs (read/write comments, content, etc.).
- Submit and open the integration’s Secrets tab.
- Copy the Internal Integration Secret (starts with
secret_).
Step 2: Share Pages or Databases With the Integration
Internal integrations only see pages and databases you explicitly share:- Open the Notion page or database.
- Use Share → invite your integration (or Connections / Add connections depending on UI).
OAuth 2.0
Use OAuth when you need per-user or multi-workspace access instead of a single internal integration.Step 1: Create a Public OAuth Integration
- In My integrations, create an integration and set the type to Public (OAuth-capable) when prompted.
- Note the OAuth client ID and OAuth client secret from the integration settings.
Step 2: Register Redirect URLs
- In the integration settings, add the Redirect URI that Corsair will use (for example, the callback URL your app exposes for Notion OAuth).
- Save changes.
Webhook Verification Secret
When you enable Notion webhooks for a subscription, Notion provides a secret used with theX-Notion-Signature header.
- Configure your webhook subscription in the Notion API / integration settings (per Notion’s current webhook documentation).
- Copy the verification / signing secret for that subscription.
Required Credentials Summary
For general information about how Corsair handles authentication, see Authentication. For tenant-specific OAuth URLs, see Multi-tenancy.