Skip to content
ReviveDB
Blog

Supabase OAuth cannot read Realtime or Storage configuration

By ReviveDB

In our 5 August 2026 test, a Supabase OAuth app token could read Auth and PostgREST settings but received HTTP 401 for Realtime and Storage configuration. That result describes OAuth-app access in that test, not the access granted by a personal access token.

The four configuration endpoints

Reading a project's configuration means calling four separate Management API endpoints, one per subsystem:

  • GET /v1/projects/{ref}/config/auth: auth providers, JWT expiry, redirect URLs.
  • GET /v1/projects/{ref}/postgrest: the REST API config, meaning exposed schemas and max rows.
  • GET /v1/projects/{ref}/config/realtime: Realtime channel configuration.
  • GET /v1/projects/{ref}/config/storage: Storage configuration, separate from the files themselves.

Two worked in our OAuth test

On 5 August 2026, config/auth and postgrest returned 200 with our OAuth app token. Realtime and Storage configuration returned 401:

HTTP 401: "GET /v1/projects/{ref}/config/realtime does not support oauth access yet"

The same OAuth restriction also affects GET /v1/profile for sign-in and on the JIT database endpoints. The exact responses differ: /profile, /database/jit/list, Realtime and Storage return the explicit "does not support oauth access yet" message, while POST /database/jit returns HTTP 406 "Failed to get user's JIT access for project". Realtime and Storage config accept the personal access tokens the Supabase CLI uses, but not OAuth application tokens. The OAuth app permissions available in that test did not change those responses. Re-authorizing did not help.

Retested on 5 August 2026

  • GET /config/auth returns HTTP 200 with the OAuth app token
  • GET /postgrest returns HTTP 200 with the OAuth app token
  • GET /config/realtime returns HTTP 401 "does not support oauth access yet"
  • GET /config/storage returns HTTP 401 "does not support oauth access yet"

What this means for recovery

ReviveDB does not capture or reconstruct general Auth, PostgREST, Realtime or Storage service configuration. A recovery point covers database and Auth data, Storage files and bucket settings, and Edge Function code with deploy metadata. Destination service settings and secrets remain in place.

Supabase now offers scoped personal access tokens for selected projects and permissions. They work with the Management API and CLI, but use a different authorization model from OAuth app tokens. A scoped token does not change what our August OAuth test returned. Supabase documents the current token choices.

The database in every recovery point is restored and checked. Storage files and Function bundles are checked by hash, and the Supabase backups page lists the current coverage limits.