# Multi-factor Authentication via Row Level Security Enforcement

DevFeed: [Multi-factor Authentication via Row Level Security Enforcement](<https://devfeed.tech/articles/multi-factor-authentication-via-row-level-security-enforcement-453.md>)

Original publisher: [Read original article](<https://supabase.com/blog/mfa-auth-via-rls>)

Author: Joel Lee; Kang Ming Tay; Stojan Dimitrovski

Published: 2022-12-14T07:00:00Z

Content type: article

Language: en

Sources: [Supabase Blog](<https://devfeed.tech/sources/supabase-blog.md>)

Topics: [MFA](<https://devfeed.tech/topics/mfa.md>), [Authentication](<https://devfeed.tech/topics/authentication.md>), [Security](<https://devfeed.tech/topics/security.md>), [Supabase](<https://devfeed.tech/topics/supabase.md>), [QR Code](<https://devfeed.tech/topics/qrcode.md>), [SVG](<https://devfeed.tech/topics/svg.md>), [Single sign-on (SSO)](<https://devfeed.tech/topics/sso.md>)

Tags: [auth](<https://devfeed.tech/tags/auth.md>), [authentication](<https://devfeed.tech/tags/authentication.md>), [code](<https://devfeed.tech/tags/code.md>), [dogfooding](<https://devfeed.tech/tags/dogfooding.md>), [event](<https://devfeed.tech/tags/event.md>), [feature](<https://devfeed.tech/tags/feature.md>), [flow](<https://devfeed.tech/tags/flow.md>), [generate](<https://devfeed.tech/tags/generate.md>), [identity](<https://devfeed.tech/tags/identity.md>), [mfa](<https://devfeed.tech/tags/mfa.md>), [password](<https://devfeed.tech/tags/password.md>), [passwords](<https://devfeed.tech/tags/passwords.md>), [security](<https://devfeed.tech/tags/security.md>), [sso](<https://devfeed.tech/tags/sso.md>), [svg](<https://devfeed.tech/tags/svg.md>), [verification](<https://devfeed.tech/tags/verification.md>), [verify](<https://devfeed.tech/tags/verify.md>)

## AI overview

Supabase introduces multi-factor authentication for all users and describes its implementation with Time-Based One Time Passwords (TOTP). The article explains enrollment, QR-code setup, challenge creation, and verification using six-digit codes, and mentions Single Sign On (SSO) on the dashboard as preparation for SAML.

## Source excerpt

MFA Auth with enforcement via RLS