Terms of Service

Agreement

By using OndatraSQL, ondatra.sh, account.ondatra.sh, or oauth2.ondatra.sh, you agree to these terms.

The Software

OndatraSQL is open source software released under the GNU AGPL v3. You may use, modify, and distribute it under the terms of that license.

The Services

The following optional services are provided:

  • ondatra.sh: documentation and website
  • account.ondatra.sh / oauth2.ondatra.sh: managed OAuth2 authentication and account management

These services are not required to use OndatraSQL.

Authentication

OndatraSQL supports multiple ways of authenticating with third-party APIs. Client credentials, Google service accounts, and other direct authentication methods work entirely locally, with no Ondatra services involved.

For providers that require user authorization (OAuth2 Authorization Code Flow), two options are available:

Local (default)

Use your own OAuth2 app credentials. No account required, no API key required, no connection to Ondatra services. All authentication happens locally between your CLI and the provider.

Managed (optional)

We provide a managed OAuth service for convenience, so you don’t have to register your own OAuth2 app with every provider. To use it, create an account and generate an API key. This key is only used to access the managed service. It is not required to use OndatraSQL. You are responsible for keeping your API key secure. We may revoke access in cases of misuse.

The managed service is currently free and provided as-is. We facilitate token exchange only. We do not access or read your data. Refresh tokens are encrypted with a client-generated key that only your CLI can decrypt, and deleted after retrieval (max 2 minutes). No data is retained beyond what is required for the authentication flow.

Your Responsibilities

  • Keep your API keys and credentials secure
  • Do not use the services to violate third-party provider terms
  • Do not abuse the managed service (excessive requests, automated registration)
  • Comply with applicable laws

Limitations

The services are provided “as is” without warranty. We are not liable for data loss, downtime, or third-party API changes. We may suspend or terminate access for violations of these terms. We may modify or discontinue services with reasonable notice.

Privacy

See our Privacy Policy for how we handle your data.

Governing Law

These terms are governed by Swedish law. Disputes shall be resolved in Stockholm, Sweden.

Changes

We may update these terms. Continued use after changes constitutes acceptance.

Last updated: April 3, 2026