Supabase Integration

'Connect Supabase to Supervity, authorize access to the Supabase Management API, and inspect organizations and project metadata.'

This guide explains how to connect Supabase to Supervity, what capabilities are supported via the Supabase Management API OAuth connection, and how to govern and disconnect the integration when needed.


Overview

The Supervity Supabase integration authenticates using OAuth 2.0 against the hosted Supabase Management API (https://api.supabase.com).

Once connected, Supervity can interact with the Supabase platform layer to authenticate your account, discover organizations, and retrieve project metadata and configuration status.

Management API Scope & Capabilities

The integration operates exclusively at the Platform Management API layer:

  • Authenticate your Supabase user identity and verify account access
  • Discover and list organizations accessible to the authenticated account
  • Retrieve project listings across accessible organizations
  • Inspect project configuration metadata, deployment regions, and status

Important Scope Boundary: Project-Level Data Operations

[!IMPORTANT] Management API Token vs. Project Data Endpoints: The Supabase OAuth 2.0 access token authenticates strictly against the central Supabase Management API (https://api.supabase.com). It cannot be used to authenticate requests against project-specific REST (/rest/v1), Storage (/storage/v1), or Auth (/auth/v1) endpoints (https://<project_ref>.supabase.co).

Direct database queries (PostgREST), table record mutations, storage bucket operations, and user directory administration require project-specific API keys (anon or service_role JWTs) and database connection credentials. These capabilities are not provisioned or supported by this OAuth connection flow.


Prerequisites

Before connecting Supabase, ensure you have:

  • An active Supervity workspace
  • A Supabase account (Free, Pro, Team, or Enterprise)
  • Administrative or owner permissions on the Supabase organizations you plan to inspect
  • The Supervity Supabase OAuth application configured by your workspace administrator

Adding the Supabase Integration

Follow these steps to connect Supabase to Supervity:

Step 1: Open Integrations

  1. Log in to Supervity.
  2. From the left navigation bar, click the Integrations icon.

Step 2: Select Supabase

  1. Locate Supabase in the available integrations list.
  2. Click Connect.

Step 3: Authorize Access

  1. You will be redirected to the Supabase OAuth authorization page (api.supabase.com).
  2. Review the requested permissions.
  3. Select the organization you want to authorize and click Approve.
  4. Supervity uses Supabase's standard OAuth 2.0 authorization flow. Your Supabase password is never shared with or stored by Supervity.

Step 4: Complete Connection

After authorization, you will be redirected back to Supervity. The Supabase integration will display as Connected on the Integrations page.


How Supabase Works in Supervity

After connection, Supervity uses the Supabase Management API to identify the connected account by listing accessible organizations and, if needed, projects. The integration does not expose Management API actions for project readiness, configuration, provisioning, deployment-setting audits, or metadata synchronization.


Permissions Requested

The integration-level Management API scope is read, used to list organizations and projects. Selected action descriptors may also request a write scope, but that scope does not provide Management API configuration or provisioning operations.


Authentication & Security

The Supabase integration uses OAuth 2.0 with secure authorization code flow.

Security controls include:

  • Encrypted credential storage (AES-256) at rest
  • Scoped Management API access tokens
  • Automated token refresh handling
  • TLS 1.3 encryption for all data in transit
  • Workspace role-based access control and comprehensive audit logging

Managing the Integration

View Connection Status

From the left navigation bar, click the Integrations icon. For Supabase, you can view:

  • Current connection health and status
  • Granted organization scopes
  • Last execution timestamp
  • Workflows leveraging Supabase metadata

Reconnect Supabase

If your token expires or organization access permissions change:

  1. Open the Integrations page.
  2. Select Supabase.
  3. Click Reconnect and complete the OAuth authorization screen.

Disconnection & Deauthorization Handling

You can disconnect the Supabase integration at any time from the Supervity platform.

Steps to Remove

  1. Navigate to Integrations > Supabase.
  2. Click Disconnect and confirm when prompted.

What Happens Upon Disconnection

  • Credential Removal: Stored OAuth access and refresh tokens are immediately cleared from Supervity's credential store.
  • Workflow Handling: The disconnected account is excluded from future credential lookups, but disconnecting does not pause or delete workflow schedules or cancel already-running workflows.
  • Data Retention: The connected-account record is soft-deleted. Audit logs and previously synchronized operational history are retained in accordance with workspace compliance and retention policies.
  • Background Teardown: Associated background listeners and cleanup processes run asynchronously.
  • Provider-Side Token Revocation: Disconnecting inside Supervity removes credentials locally but does not invoke Supabase's remote revocation API. To revoke Supervity's application authorization on Supabase, visit your Supabase Account Settings > Access Tokens / Apps and revoke access.

Troubleshooting

Authorization Failed During Setup

  • Cause: Canceled consent prompt or missing organization admin permissions.
  • Resolution: Re-attempt connection using a Supabase account with owner or admin privileges for the target organization.

Organizations or Projects Do Not Appear

  • Cause: The authorized account is not a member of the target organization, or the organization was not selected during OAuth authorization.
  • Resolution: Reconnect the integration and verify that the target organization is selected during the authorization step.

Project Database or Storage Actions Fail

  • Cause: Attempting to execute SQL queries, table mutations, or storage file uploads through the OAuth connection.
  • Resolution: This integration supports only the Supabase Management API. Project-level REST, Storage, and Auth operations require separate, project-specific credentials that are not supported by this OAuth connection.

Frequently Asked Questions

Q: Is my Supabase password shared with Supervity?
No. Authentication uses standard OAuth 2.0 tokens. Supervity never handles or stores your password.

Q: Can this integration query my PostgreSQL tables or manage files in buckets?
No. This integration operates strictly against the Supabase Management API (api.supabase.com) for organization and project governance. It does not access project-specific database or storage endpoints.

Q: What happens if I disconnect Supabase?
Stored OAuth tokens are removed from Supervity immediately, and dependent workflows stop. Workflow definitions and historical logs are preserved.


Support

If you need assistance with the Supabase integration, visit the Support page.

Support Hours

  • Monday to Friday, 9:00 AM – 6:00 PM IST
  • Requests submitted outside business hours are addressed on the next business day.

Contact Information


product-guide/integrations-overview/supabase