OAuth Setup
Most connectors use OAuth 2.0 for secure authentication. This guide explains how to configure OAuth for self-hosted deployments.How It Works
- When a user clicks “Add Connector” and selects an OAuth-based service, Sontairo redirects them to the service’s authorization page
- The user grants permissions
- The service redirects back to Sontairo with an authorization code
- Sontairo exchanges the code for access and refresh tokens
- Tokens are stored encrypted and refreshed automatically
Platform OAuth Apps (Cloud)
On Sontairo Cloud, OAuth apps are pre-configured for supported services. No setup is required.Self-Hosted OAuth Configuration
For self-hosted deployments, you need to register your own OAuth apps with each service.Environment Variables
Set the following environment variables for each provider you want to support:Redirect URI
Set your redirect URI to:The callback URL is the same for all providers. Sontairo uses the
state parameter to route callbacks to the correct connector.