Skip to content

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

fix: repair broken links

[email protected]7255962ef9db
diff --git a/apps/www/_blog/2022-12-14-mfa-auth-via-rls.mdx b/apps/www/_blog/2022-12-14-mfa-auth-via-rls.mdx
index 6024135ff4b..af3559b37c6 100644
--- a/apps/www/_blog/2022-12-14-mfa-auth-via-rls.mdx
+++ b/apps/www/_blog/2022-12-14-mfa-auth-via-rls.mdx
@@ -1,17 +1,17 @@
---
- title: 'Multi-factor Authentication via Row Level Security Enforcement'
- description: MFA Auth with enforcement via RLS
- author: joel_lee,kangmingtay,stojan
- image: lw6-auth/thumbnail.jpg
- thumb: lw6-auth/thumbnail.jpg
- tags:
- - launch-week
- - auth
- - mfa
- - saml
- date: '2022-12-14'
- toc_depth: 3
- ---
+title: 'Multi-factor Authentication via Row Level Security Enforcement'
+description: MFA Auth with enforcement via RLS
+author: joel,kangmingtay,stojan
+image: lw6-auth/thumb.jpg
+thumb: lw6-auth/thumb.jpg
+tags:
+ - launch-week
+ - auth
+ - mfa
+ - saml
+date: '2022-12-14'
+toc_depth: 3
+---
# Multi-factor Authentication via Row Level Security Enforcement
@@ -42,7 +42,7 @@ In the event that the user faces difficulties entering a QR code the user can al
An MFA flow can be broken into two key steps: Enrollment and Verification. During the *Enrollment* process Supabase Auth exchanges a randomly generated secret with the user’s authenticator application. During the *Verification* process, the device makes use of the timestamp together with the secret to produce a six digit code that the server can verify.
-![Flowchart of an MFA flow](apps/www/public/images/blog/lw6-auth/mfa-flow.png)
+![Flowchart of an MFA flow](/images/blog/lw6-auth/mfa-flow.png)
**Enrollment**
To generate a QR code, call the `/enroll` endpoint which returns an SVG encoded QR and the secret. Thereafter, create a challenge by calling the `/challenge` endpoint. Once the user has entered the six digit TOTP code generated by their authenticator app, call the`/verify` endpoint with the corresponding factor and challenge details.
@@ -97,6 +97,7 @@ Adding MFA to your project and not enforcing it is like buying an expensive door
],
// ...
}
+````
The information encoded in these claims can be used for both full enforcement and partial enforcement across database queries.
diff --git a/apps/www/lib/authors.json b/apps/www/lib/authors.json
index 1f2a6e5fead..499ab21a0c2 100644
--- a/apps/www/lib/authors.json
+++ b/apps/www/lib/authors.json
@@ -250,5 +250,12 @@
"position": "Engineering",
"author_url": "https://github.com/fenos",
"author_image_url": "https://github.com/fenos.png"
+ },
+ {
+ "author_id": "stojan",
+ "author": "Stojan Dimitrovski",
+ "position": "Engineering",
+ "author_url": "https://github.com/hf",
+ "author_image_url": "https://github.com/hf.png"
}
]