Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

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.mdx
index 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.
-![Create a new Google Project inside cloud console](/img/auth-5-1.png)
+![Create a new Google Project inside cloud console](/docs/img/auth-5-1.png)
Once you have a project, type "OAuth" into the search bar and open up "OAuth Consent Screen"
-![Open the OAuth consent screen](/img/auth-5-2.png)
+![Open the OAuth consent screen](/docs/img/auth-5-2.png)
Select 'External' and proceed to fill out the rest of the form fields
-![Select External on the OAuth form](/img/auth-5-3.png)
+![Select External on the OAuth form](/docs/img/auth-5-3.png)
Next open up Credentials page on the left
-![Open up Credentials page](/img/auth-5-4.png)
+![Open up Credentials page](/docs/img/auth-5-4.png)
And click to create a new set of credentials, select OAuth client ID as the option
-![Create new oauth client id credentials](/img/auth-5-5.png)
+![Create new oauth client id credentials](/docs/img/auth-5-5.png)
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.
-![Add your redirect URI](/img/auth-5-6.png)
+![Add your redirect URI](/docs/img/auth-5-6.png)
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:
-![take client id and secret](/img/auth-5-7.png)
+![take client id and secret](/docs/img/auth-5-7.png)
-![insert client id and secret into supabase dashboard in auth > auth](/img/auth-5-8.png)
+![insert client id and secret into supabase dashboard in auth > auth](/docs/img/auth-5-8.png)
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.mdx
index 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.
-![Enable row level security in Supabase](/img/auth-deep-dive-2.png)
+![Enable row level security in Supabase](/docs/img/auth-deep-dive-2.png)
You'll notice that both reading and writing now fail with an error like:
@@ -96,7 +101,7 @@ CREATE POLICY anon_read_leaderboard ON leaderboard
If 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:
-![Add a read only policy in Supabase](/img/auth-deep-dive-2-2.png)
+![Add a read only policy in Supabase](/docs/img/auth-deep-dive-2-2.png)
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!