Skip to content
All rules

AUTH-CONFIG

Anonymous sign-in on, or email confirmation off

Severity
Low
Confidence
High
Stack
Supabase
Runs
On by default

What the CLI looks for

Anonymous authentication enabled, or email confirmation disabled, in the Supabase or Firebase project configuration.

Why it matters

Rules that only check that a user is signed in become open when anyone can create an account in one click.

How to fix it

Turn off anonymous sign-in unless you need it, keep email confirmation on, and write rules that check ownership rather than sign-in alone.

[auth]
enable_anonymous_sign_ins = false

[auth.email]
enable_confirmations = true