---
title: "Posts"
description: "Engineering blog posts from companies, open source projects, research labs and engineers, each with a summary, topics and a difficulty level."
url: "https://swe.quest/?source=neon&tag=identity-auth"
---

# Posts

Filtered by topics: Identity & auth, source: Neon.

Posts 1–24 of 34, page 1 of 2, newest first.

## 2026-11-25

- [Every app needs an MCP server, and you can build it with Neon](https://swe.quest/articles/every-app-needs-an-mcp-server-and-you-can-build-it-with-neon-1a5ce4eab0583eca.md): Neon · 2026-11-25 · Easy · 11 min read · AI agents, Identity & auth, Serverless, PostgreSQL
  An MCP server lets users drive an app from AI assistants like ChatGPT, Claude and Cursor through tools the app defines, which keeps authorization and validation in app code instead of exposing the UI or raw database access.

## 2026-11-19

- [Query your WorkOS users in Neon with the WorkOS Sync Engine](https://swe.quest/articles/query-your-workos-users-in-neon-with-the-workos-sync-engine-384d596099bd77f1.md): Neon · 2026-11-19 · Medium · 7 min read · PostgreSQL, Identity & auth, Data pipelines, Serverless
  WorkOS Sync Engine, open-sourced by WorkOS, mirrors WorkOS identity data (users, organizations, memberships, sessions, auth attempts, events) into a workos schema in Postgres.

## 2026-11-02

- [Managed Better Auth is now an OAuth provider, with MCP support](https://swe.quest/articles/managed-better-auth-is-now-an-oauth-provider-with-mcp-support-613f00a7521407ac.md): Neon · 2026-11-02 · Medium · 5 min read · Identity & auth, AI agents, PostgreSQL
  Neon's Managed Better Auth now supports the OAuth Provider plugin, turning an auth instance into an OAuth 2.1 authorization server that both companion apps and MCP clients can use to sign users in.

## 2026-10-05

- [Building a searchable photo library on the Neon backend with TanStack](https://swe.quest/articles/building-a-searchable-photo-library-on-the-neon-backend-with-tanstack-f091ade391b04611.md): Neon · 2026-10-05 · Medium · 9 min read · PostgreSQL, Vector search, Identity & auth, Storage systems, Deployment
  Atlas is a TanStack Start app on Vercel that stores private photos in Neon Object Storage, metadata and vectors in Lakebase Postgres, identity in Managed Better Auth, and ranks CLIP embeddings with the Lakebase Search \`lakebase\_ann\` index.

## 2026-09-10

- [Claimable Neon: Provisioned by agents, claimed by humans](https://swe.quest/articles/claimable-neon-provisioned-by-agents-claimed-by-humans-9f64e172703dc25f.md): Neon · 2026-09-10 · Easy · 5 min read · AI agents, Identity & auth, PostgreSQL, Serverless
  Claimable Neon lets AI agents provision a temporary Neon project (Postgres, Data API, Managed Better Auth) without a human account, using the anonymous registration method of WorkOS's auth.md protocol, then hand it to a human via a short-lived claim link.

## 2026-01-10

- [Handling Auth in a Staging Environment](https://swe.quest/articles/handling-auth-in-a-staging-environment-18efe1e68fa29994.md): Neon · 2026-01-10 · Medium · 7 min read · Identity & auth, PostgreSQL, CI/CD, Testing
  Neon Auth stores users, sessions and OAuth data in a neon\_auth schema inside the Postgres database, so branching the database also branches auth state via copy-on-write.

## 2025-12-29

- [Stop Mocking Auth (It’s Breaking Your Tests)](https://swe.quest/articles/stop-mocking-auth-it-s-breaking-your-tests-f37ca9cbb9aaf394.md): Neon · 2025-12-29 · Medium · 8 min read · Testing, Identity & auth, PostgreSQL, CI/CD
  Mocking authentication in tests hides real failures: password hashing and verification, UNIQUE-constraint enforcement under concurrent signups, session handling, and SQL joins between auth and application data.

## 2025-12-22

- [Lessons From a Zero-Downtime User-to-Org Migration](https://swe.quest/articles/lessons-from-a-zero-downtime-user-to-org-migration-870f7d3407eb6aed.md): Neon · 2025-12-22 · Medium · 8 min read · Schema migrations, Multi-tenancy, API design, Identity & auth, Payments & fintech
  Neon migrated thousands of user accounts and more than 10M projects from user ownership to organization (team) ownership with no downtime, no breaking API changes, no API key rotation and no customer action.

## 2025-12-10

- [Meet the New Neon Auth: Branchable Identity in Your Database](https://swe.quest/articles/meet-the-new-neon-auth-branchable-identity-in-your-database-be81a13634133bac.md): Neon · 2025-12-10 · Easy · 8 min read · Identity & auth, PostgreSQL, Databases
  Neon Auth has been rebuilt on Better Auth and now stores users, sessions, organizations and auth configuration in a neon\_auth schema inside the Neon Postgres database.

## 2025-07-08

- [Build Internal Tools Using Neon, StackAuth, and Vercel](https://swe.quest/articles/build-internal-tools-using-neon-stackauth-and-vercel-451a972f29aed443.md): Neon · 2025-07-08 · Medium · 3 min read · Identity & auth, PostgreSQL, Serverless, Product engineering
  An open-source Next.js template for internal tools combines Neon serverless Postgres, Stack Auth and Vercel free tiers to provide a database, API routes, authentication, role-based access control and an admin panel.

## 2025-06-25

- [Why Postgres needs better connection security defaults](https://swe.quest/articles/why-postgres-needs-better-connection-security-defaults-d78d4b6f863ed01c.md): Neon · 2025-06-25 · Medium · 8 min read · PostgreSQL, Cryptography, Identity & auth, Security
  Postgres's widely used sslmode=require encrypts connections but never authenticates the server, leaving them open to trivial MITM attacks via a self-signed certificate and DNS poisoning.

## 2025-05-27

- [Recreating S3 in Postgres using PostgREST](https://swe.quest/articles/recreating-s3-in-postgres-using-postgrest-d07b4a06448dac82.md): Neon · 2025-05-27 · Medium · 7 min read · PostgreSQL, API design, Identity & auth, SQL
  A simple S3-like file server can be built inside Postgres by storing binary data in a BYTEA table and exposing it through PostgREST's functions-as-RPC via the Neon Data API.

## 2025-05-23

- [Solving the MCP Authentication Headache with Vercel & Better Auth](https://swe.quest/articles/solving-the-mcp-authentication-headache-with-vercel-better-auth-749640ed1439e99c.md): Neon · 2025-05-23 · Medium · 5 min read · Identity & auth, AI agents, TypeScript
  Remote MCP servers can authenticate users with OAuth instead of plaintext bearer tokens or UUIDs stored in a client's mcp.json, using Better Auth's MCP plugin together with Vercel's @vercel/mcp-adapter in a Next.js app.

## 2025-05-08

- [Postgres 18 Beta Is Out: 7 Features You Should Know About](https://swe.quest/articles/postgres-18-beta-is-out-7-features-you-should-know-about-12f5517ee11c16c3.md): Neon · 2025-05-08 · Easy · 4 min read · PostgreSQL, Performance engineering, Schema migrations, Identity & auth
  Postgres 18 Beta 1 introduces an asynchronous I/O subsystem selectable via io\_method (sync, worker by default, or Linux io\_uring), with early benchmarks showing 2–3x gains on read-heavy queries and a new pg\_aios view for in-flight I/O. pg\_upgrade now preserves planner statistics (except extended stats) and adds --jobs for parallel checks and --swap for swapping data directories, reducing post-upgrade slowdowns and downtime.

## 2025-04-11

- [Bringing MCP to the Cloud](https://swe.quest/articles/bringing-mcp-to-the-cloud-de1944b558e43ff0.md): Neon · 2025-04-11 · Medium · 8 min read · AI agents, Identity & auth, API design, JavaScript
  Neon moved its MCP server from a locally spawned stdio process authenticated by a long-lived API key to a hosted server at mcp.neon.tech, using SSE for server-to-client messages and HTTP POST to a /messages endpoint routed by an in-memory session map.

## 2025-04-09

- [Building a Keycloak Email Change Plugin](https://swe.quest/articles/building-a-keycloak-email-change-plugin-21d5812795100fd8.md): Neon · 2025-04-09 · Medium · 4 min read · Identity & auth, Java & JVM
  A custom Keycloak SPI plugin lets external systems learn about user email changes, which Keycloak doesn't natively notify on.

## 2025-03-25

- [A Simple 3-Step Process to Migrate from Supabase Auth to Neon Auth](https://swe.quest/articles/a-simple-3-step-process-to-migrate-from-supabase-auth-to-neon-auth-4a39ae039de9e6ef.md): Neon · 2025-03-25 · Medium · 5 min read · Identity & auth, PostgreSQL, JavaScript
  Supabase Auth users can be moved to Neon Auth (built on Stack Auth) without forcing password resets by exporting bcrypt hashes in Modular Crypt Format and importing them through the Stack Auth REST API.

## 2025-02-22

- [How to Build a Secure Project Management Platform with Next.js, Clerk, and Neon](https://swe.quest/articles/how-to-build-a-secure-project-management-platform-with-next-js-clerk-and-neon-a23e4da79b231f5e.md): Neon · 2025-02-22 · Medium · 29 min read · Identity & auth, React, PostgreSQL, Application security, Frontend
  A security-first tutorial for building Kozi, a collaborative project management app, using Next.js, Clerk authentication and a Neon serverless Postgres database accessed through Prisma.

## 2024-12-04

- [How to Set Up Row-Level Security in Postgres Using AWS Cognito](https://swe.quest/articles/how-to-set-up-row-level-security-in-postgres-using-aws-cognito-7cb6bed6c9694d22.md): Neon · 2024-12-04 · Medium · 5 min read · PostgreSQL, Identity & auth, JavaScript, Serverless
  Postgres row-level security can be driven by AWS Cognito JWTs: a Cognito User Pool issues tokens, and Neon Authorize validates them and maps claims like \`sub\` into Postgres session variables.

## 2024-11-29

- [WTF Are JWTs?](https://swe.quest/articles/wtf-are-jwts-d314ec0dbdbc99c8.md): Neon · 2024-11-29 · Medium · 9 min read · Identity & auth, PostgreSQL, Cryptography, Multi-tenancy
  JSON Web Tokens are compact, signed, self-contained tokens made of three base64url segments (header, payload of registered and custom claims, and an HMAC or RSA signature).

## 2024-11-15

- [Is Postgres RLS for Everything and Everyone?](https://swe.quest/articles/is-postgres-rls-for-everything-and-everyone-1df08667813a2c82.md): Neon · 2024-11-15 · Medium · 4 min read · PostgreSQL, Identity & auth, Multi-tenancy, Security
  Postgres row-level security is a poor fit for expressing an entire app's authorization model.

## 2024-11-13

- [Higher-level CRUD Abstraction for Postgres RLS](https://swe.quest/articles/higher-level-crud-abstraction-for-postgres-rls-90207e4bb081ead2.md): Neon · 2024-11-13 · Medium · 3 min read · PostgreSQL, Identity & auth, TypeScript
  Postgres Row-Level Security requires separate USING and WITH CHECK policies per operation, which gets repetitive for CRUD apps.

## 2024-11-11

- [Modelling Authorization for a Social Network with Postgres RLS and Drizzle ORM](https://swe.quest/articles/modelling-authorization-for-a-social-network-with-postgres-rls-and-drizzle-orm-6267eb437b8171e7.md): Neon · 2024-11-11 · Medium · 8 min read · PostgreSQL, Identity & auth, TypeScript, System design
  Postgres Row-Level Security can express the full authorization model for a Twitter-like social network, defined with Drizzle ORM's crudPolicy and pgPolicy helpers and the pg\_session\_jwt extension's auth.user\_id().

## 2024-11-07

- [Is “SQL from the frontend” viable?](https://swe.quest/articles/is-sql-from-the-frontend-viable-7fa2effc8f7be530.md): Neon · 2024-11-07 · Easy · 3 min read · PostgreSQL, Identity & auth, System design, Security
  Letting the frontend query the database directly, via tools like PostgREST or Firebase, can sharply speed up development by removing backend abstraction layers and frontend/backend team dependencies, which makes it attractive for prototypes and many apps.

[Next page](https://swe.quest/index.md?source=neon&tag=identity-auth&page=2)

Same list as RSS: [https://swe.quest/feed.xml?source=neon&tag=identity-auth](https://swe.quest/feed.xml?source=neon&tag=identity-auth). Lists take `?page=`, `?per=12|24|48|96` and, on the home page, `?tag=` (up to 3), `?source=`, `?difficulty=easy|medium|hard` and `?search=`.

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)
