The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
feat: expose analytics OAuth scopes (#32543)
Hieua069a1e836ec
diff --git a/apps/studio/components/interfaces/Organization/OAuthApps/AuthorizeRequesterDetails.tsx b/apps/studio/components/interfaces/Organization/OAuthApps/AuthorizeRequesterDetails.tsxindex a8590363441..fe2a4ce16fb 100644--- a/apps/studio/components/interfaces/Organization/OAuthApps/AuthorizeRequesterDetails.tsx+++ b/apps/studio/components/interfaces/Organization/OAuthApps/AuthorizeRequesterDetails.tsx@@ -78,6 +78,11 @@ const AuthorizeRequesterDetails = ({<span className="text-amber-900">selected organization and all of its projects.</span></p><div className="pt-2">+ <ScopeSection+ description="access to analytics logs."+ hasReadScope={scopes.includes(OAuthScope.ANALYTICS_READ)}+ hasWriteScope={scopes.includes(OAuthScope.ANALYTICS_WRITE)}+ /><ScopeSectiondescription="access to auth configurations and SSO providers."hasReadScope={scopes.includes(OAuthScope.AUTH_READ)}diff --git a/apps/studio/components/interfaces/Organization/OAuthApps/PublishAppSidePanel/Scopes.tsx b/apps/studio/components/interfaces/Organization/OAuthApps/PublishAppSidePanel/Scopes.tsxindex 56364d0bf29..4e82c3db006 100644--- a/apps/studio/components/interfaces/Organization/OAuthApps/PublishAppSidePanel/Scopes.tsx+++ b/apps/studio/components/interfaces/Organization/OAuthApps/PublishAppSidePanel/Scopes.tsx@@ -106,6 +106,14 @@ export const ScopesPanel = ({}) => {return (<div className="-space-y-px">+ <Scope+ title="Analytics"+ description="Analytics logs."+ readScopeName={OAuthScope.ANALYTICS_READ}+ writeScopeName={OAuthScope.ANALYTICS_WRITE}+ scopes={scopes}+ setScopes={setScopes}+ /><Scopetitle="Auth"description="Auth configurations and SSO providers."