---
title: "Supabase Auth now supports Anonymous Sign-ins"
description: "Supabase Auth adds anonymous sign-ins, letting apps create temporary users who are treated as `authenticated` and persisted in `auth.users` with an `is_anonymous` flag exposed as a JWT claim."
url: "https://swe.quest/articles/supabase-auth-now-supports-anonymous-sign-ins-1d15678eda734aad"
canonical: "https://supabase.com/blog/anonymous-sign-ins"
source: "Supabase"
published: "2024-04-17"
difficulty: "medium"
kind: "Announcement"
reading_minutes: 4
tags: ["identity-auth","postgres"]
---

# Supabase Auth now supports Anonymous Sign-ins

A post on [Supabase](https://swe.quest/sources/supabase.md), published 2024-04-17, 4 min read, Announcement. Original: [https://supabase.com/blog/anonymous-sign-ins](https://supabase.com/blog/anonymous-sign-ins)

## Summary

Supabase Auth adds anonymous sign-ins, letting apps create temporary users who are treated as \`authenticated\` and persisted in \`auth.users\` with an \`is\_anonymous\` flag exposed as a JWT claim. Postgres Row Level Security policies can check \`auth.jwt() -\>\> 'is\_anonymous'\` to restrict features, such as blocking anonymous inserts or limiting reads to recent rows. Anonymous users become permanent by linking an email, phone or OAuth identity while keeping the same user ID, so their data carries over. Until automatic cleanup ships, a SQL delete on \`auth.users\` can purge anonymous accounts older than 30 days.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Identity & auth](https://swe.quest/tags/identity-auth.md) (Security)
- [PostgreSQL](https://swe.quest/tags/postgres.md) (Data & databases)

## Prerequisites

- Postgres Row Level Security ([easy posts on PostgreSQL](https://swe.quest/tags/postgres.md?difficulty=easy))
- JWT claims

## Keywords

Supabase Auth, Row Level Security, JWT, supabase-js, OAuth

## Related posts

- [Supabase Auth: Identity Linking, Hooks, and HaveIBeenPwned integration](https://swe.quest/articles/supabase-auth-identity-linking-hooks-and-haveibeenpwned-integration-8ed59b21ef27e3e6.md): Supabase · 2023-12-14 · Medium · 5 min read · Identity & auth, PostgreSQL
  Supabase Auth adds four features: manual Identity Linking via linkIdentity()/unlinkIdentity() for OAuth identities, session controls (time-boxed sessions, inactivity timeouts, single session per user on Pro and above), leaked password protection using the HaveIBeenPwned Pwned Passwords API with configurable password requirements, and Auth Hooks.
- [Supabase Auth: SSO, Mobile, and Server-side support](https://swe.quest/articles/supabase-auth-sso-mobile-and-server-side-support-6a2bc9b0f4a5ef26.md): Supabase · 2023-04-13 · Medium · 7 min read · Identity & auth, PostgreSQL, Multi-tenancy, Mobile
  Supabase Auth adds SAML 2.0 single sign-on, a PKCE authorization flow for server-side rendering and mobile apps, and native Sign in with Apple on iOS.
- [Supabase Security Retro: 2025](https://swe.quest/articles/supabase-security-retro-2025-91f5c4e25d9fa3d9.md): Supabase · 2026-01-07 · Easy · 7 min read · PostgreSQL, Security, Identity & auth
  Supabase's 2025 security work centered on safer defaults around Postgres Row Level Security and API exposure.
- [supabase-js v2](https://swe.quest/articles/supabase-js-v2-f87cba2e3b41f9e9.md): Supabase · 2022-08-16 · Medium · 5 min read · JavaScript, TypeScript, API design, Identity & auth, PostgreSQL
  supabase-js v2 brings incremental quality-of-life changes over v1.
- [Authentication in Ionic Angular with Supabase](https://swe.quest/articles/authentication-in-ionic-angular-with-supabase-d02eec9140b86035.md): Supabase · 2022-11-08 · Medium · 33 min read · Identity & auth, Frontend, Mobile, PostgreSQL, TypeScript
  An Ionic Angular realtime messaging app built on Supabase demonstrates email/password signup and login, magic link authentication for web and native mobile, and route protection with Angular guards.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
