The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
feat: add connect supabase button to brand assets.
thorwebdevab1e0d896556
diff --git a/apps/docs/pages/guides/platform/oauth-apps/build-a-supabase-integration.mdx b/apps/docs/pages/guides/platform/oauth-apps/build-a-supabase-integration.mdxindex d288c48fe68..0cd50193455 100644--- a/apps/docs/pages/guides/platform/oauth-apps/build-a-supabase-integration.mdx+++ b/apps/docs/pages/guides/platform/oauth-apps/build-a-supabase-integration.mdx@@ -20,9 +20,7 @@ Using OAuth2.0 you can retrieve an access and refresh token that grant your appl## Show a "Connect Supabase" button-In your backend, add a "Connect Supabase" button to kick off the OAuth2 flow utilizing the following design language.--// TODO add design guidelines+In your backend, add a "Connect Supabase" button to kick off the OAuth flow. Follow the design guidelines outlined in our [brand assets](/brand-assets).## Implement the OAuth 2.0 flow@@ -62,7 +60,7 @@ Refer to [the Management API reference](/docs/reference/api/introduction#authentFor convenience, when working with JavaScript/TypeScript, you can use the [supabase-management-js](https://github.com/supabase-community/supabase-management-js#supabase-management-js) library.-## Intergation Options+## Integration OptionsThere are a couple common patterns we recommend adding to your integration that can facilitate a great user experience.diff --git a/apps/www/lib/redirects.js b/apps/www/lib/redirects.jsindex 684508d7d4a..9216ce46332 100644--- a/apps/www/lib/redirects.js+++ b/apps/www/lib/redirects.js@@ -2249,7 +2249,8 @@ module.exports = [{permanent: true,source: '/docs/guides/platform/oauth-apps/publish-an-oauth-app',- destination: '/docs/guides/platform/oauth-apps/build-a-supabase-integration#',+ destination:+ '/docs/guides/platform/oauth-apps/build-a-supabase-integration#create-an-oauth-app',},{permanent: true,diff --git a/apps/www/pages/brand-assets.tsx b/apps/www/pages/brand-assets.tsxindex 6d42e3b577b..a8bf648f53d 100644--- a/apps/www/pages/brand-assets.tsx+++ b/apps/www/pages/brand-assets.tsx@@ -77,6 +77,46 @@ const Index = () => {</div></div></SectionContainer>+ <SectionContainer className="sm:pt-0 md:pt-0 lg:pt-0 xl:pt-0">+ <div className="shadow-small grid grid-cols-12 rounded-lg border dark:border-gray-600">+ <div className="relative col-span-12 h-60 w-full overflow-auto rounded-lg lg:col-span-5">+ <Image+ src="https://obuldanrptloktxcffvn.supabase.co/storage/v1/object/public/supabase-brand-assets/connect-supabase/connect-supabase-dark.svg"+ alt="Connect Supabase Button"+ layout="fill"+ objectFit="contain"+ />+ </div>+ <div className="col-span-12 flex items-center lg:col-span-7">+ <div className="p-16">+ <div className="space-y-2">+ <h1 className="text-scale-1200 text-4xl">Supabase Integrations</h1>+ <p className="text-scale-1100 text-sm">+ <p>+ When building a{' '}+ <a+ className="underline"+ href="/docs/guides/platform/oauth-apps/build-a-supabase-integration"+ >+ Supabase Integration+ </a>+ , use this "Connect Supabase" button to initiate the OAuth redirect.+ </p>+ <p>Do not use any other color for the wordmark.</p>+ </p>+ <form+ method="get"+ action={`https://obuldanrptloktxcffvn.supabase.co/storage/v1/object/public/supabase-brand-assets/connect-supabase/connect-supabase.zip`}+ >+ <Button htmlType="submit" type="default" iconRight={<IconDownload />}>+ Download button kit+ </Button>+ </form>+ </div>+ </div>+ </div>+ </div>+ </SectionContainer><CTABanner /></Container></Layout>