C1 provides identity governance and provisioning for Supabase. Integrate Supabase with C1 to run user access reviews (UARs), enable access requests, and automatically provision and deprovision auth users across all your Supabase projects.
To configure the Supabase connector, you need a Personal Access Token
(PAT) for the Supabase Management API. The connector automatically discovers
all active projects and fetches each project’s service_role key.
Follow these instructions to use a built-in, no-code connector hosted by C1.
1
In C1, navigate to Integrations > Connectors and click Add connector.
2
Search for Supabase and click Add.
3
Choose how to set up the new Supabase connector:
Add the connector to a currently unmanaged app
Add the connector to a managed app
Create a new managed app
4
Set the owner for this connector.
5
Click Next.
6
Find the Settings area of the page and click Edit.
7
Enter the required configuration:
Supabase Access Token: The Personal Access Token (PAT) you generated.
8
Click Save.
9
The connector’s label changes to Syncing, followed by Connected. You can view the logs to ensure that information is syncing.
Done. Your Supabase connector is now pulling access data into C1.
Follow these instructions to use the Supabase connector, hosted and run in your own environment.When running in service mode on Kubernetes, a self-hosted connector maintains an ongoing connection with C1, automatically syncing and uploading data at regular intervals.
# baton-supabase-secrets.yamlapiVersion: v1kind: Secretmetadata: name: baton-supabase-secretstype: OpaquestringData: BATON_CLIENT_ID: <C1 client ID> BATON_CLIENT_SECRET: <C1 client secret> BATON_SUPABASE_ACCESS_TOKEN: <Supabase Personal Access Token> # Optional: include if you want C1 to provision access using this connector BATON_PROVISIONING: true
Create a namespace in which to run C1 connectors (if desired), then apply the secret config and deployment config files.
2
Check that the connector data uploaded correctly. In C1, click Applications. On the Managed apps tab, locate and click the name of the application you added the Supabase connector to. Supabase data should be found on the Entitlements and Accounts tabs.
Done. Your Supabase connector is now pulling access data into C1.
The connector automatically syncs auth users from all active Supabase projects
accessible via the PAT. Each auth user is linked to its parent project, so
users from different projects are properly distinguished.