The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Fix img paths
Terry Suttonb38707156dab
diff --git a/apps/docs/docs/learn/auth-deep-dive/google-oauth.mdx b/apps/docs/docs/learn/auth-deep-dive/google-oauth.mdxindex 2f290198ada..33c93f82e5a 100644--- a/apps/docs/docs/learn/auth-deep-dive/google-oauth.mdx+++ b/apps/docs/docs/learn/auth-deep-dive/google-oauth.mdx@@ -25,33 +25,33 @@ Connecting social logins such as Google, GitHub, or Facebook couldn't be easier.First you'll need to create a google project inside their [cloud console](https://console.cloud.google.com/home/dashboard), in other providers they may refer to this as an "app" and is usually available on the company's developer portal.-+Once you have a project, type "OAuth" into the search bar and open up "OAuth Consent Screen"-+Select 'External' and proceed to fill out the rest of the form fields-+Next open up Credentials page on the left-+And click to create a new set of credentials, select OAuth client ID as the option-+Now choose Web Application (assuming you're creating a web app) and in the Authorized redirect URI section you need to add: `https://<your-ref>.supabase.co/auth/v1/callback`. You can find your Supabase URL in Settings > API inside the Supabase dashboard.-+Now you can grab the client ID and secret from the popup, and insert them into the google section inside the Supabase dashboard in Auth > Settings:-+-+Hit save. Now you should be able to navigate in the browser to:diff --git a/apps/docs/docs/learn/auth-deep-dive/row-level-security.mdx b/apps/docs/docs/learn/auth-deep-dive/row-level-security.mdxindex 946d50e7e7d..1004047a0ce 100644--- a/apps/docs/docs/learn/auth-deep-dive/row-level-security.mdx+++ b/apps/docs/docs/learn/auth-deep-dive/row-level-security.mdx@@ -11,7 +11,12 @@ Learn how to restrict access to your database tables by enabling Row Level Secur### Watch<div className="video-container">-<iframe src="https://www.youtube-nocookie.com/embed/qY_iQ10IUhs" frameBorder="1" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowFullScreen></iframe>+ <iframe+ src="https://www.youtube-nocookie.com/embed/qY_iQ10IUhs"+ frameBorder="1"+ allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"+ allowFullScreen+ ></iframe></div>### Securing Your Tables@@ -68,7 +73,7 @@ ALTER TABLE leaderboard ENABLE ROW LEVEL SECURITY;or via the Supabase Dashboard, by navigating to Auth > Policies, and clicking the red padlock on the leaderboard table, so that it turns white.-+You'll notice that both reading and writing now fail with an error like:@@ -96,7 +101,7 @@ CREATE POLICY anon_read_leaderboard ON leaderboardIf you'd prefer to use the dashboard to add your policy you can do so by clicking "Add Policy" in the Policies tab and making a policy like this:-+You should now be able to read from your leaderboard, but will still not be able to write, update, or delete from it, which is exactly what we wanted!