<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Samuel Recio</title>
    <description>The latest articles on DEV Community by Samuel Recio (@samuelrecio).</description>
    <link>https://dev.to/samuelrecio</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3901041%2F3b0b0216-20bc-4138-88f0-e969b1f90dfa.png</url>
      <title>DEV Community: Samuel Recio</title>
      <link>https://dev.to/samuelrecio</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/samuelrecio"/>
    <language>en</language>
    <item>
      <title>Firebase lock-in is a ticking time bomb. Here is the architectural escape hatch.</title>
      <dc:creator>Samuel Recio</dc:creator>
      <pubDate>Mon, 27 Apr 2026 20:42:35 +0000</pubDate>
      <link>https://dev.to/samuelrecio/firebase-lock-in-is-a-ticking-time-bomb-here-is-the-architectural-escape-hatch-19k4</link>
      <guid>https://dev.to/samuelrecio/firebase-lock-in-is-a-ticking-time-bomb-here-is-the-architectural-escape-hatch-19k4</guid>
      <description>&lt;p&gt;Firebase is the ultimate honey trap. It gives you incredible speed on day one, and makes it incredibly painful to leave on day one thousand.&lt;/p&gt;

&lt;p&gt;If you build on Firebase, Google owns your authentication state, your database query structure (Firestore), and your serverless compute. The moment your startup needs a relational SQL query, or the moment Google changes its pricing, you are facing a 6-month complete rewrite.&lt;/p&gt;

&lt;p&gt;The Illusion of Speed: Why BaaS products incentivize tightly coupled, proprietary code.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Pain of Migration:&lt;/strong&gt; Why moving auth state and un-tangling NoSQL data models destroys engineering teams.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Escape Hatch:&lt;/strong&gt; You don't need a different BaaS. You need to adopt the Trust Layer Standard. By separating your identity provider from your database and your logic, you become immune to lock-in.&lt;/p&gt;

&lt;p&gt;With &lt;strong&gt;&lt;em&gt;Pubflow’s&lt;/em&gt;&lt;/strong&gt; architecture, your authentication (Flowless) is decentralized. Your data model? Yours. Need to switch from Firebase to PostgreSQL? Or to LibSQL? Pubflow's standard lets you do that with some clicks, you can Bring your own Database or use their cloud Databases.&lt;/p&gt;

&lt;p&gt;Startups should own their infrastructure from day one without sacrificing development speed. Adopt the Trust Layer Standard, pick your database, and keep your freedom. Check the migration guides and starter kits at pubflow.com.&lt;/p&gt;

</description>
      <category>firebase</category>
      <category>architecture</category>
      <category>database</category>
      <category>backend</category>
    </item>
    <item>
      <title>Vibe Coding is dangerous without a Trust Layer: The Missing Piece of AI</title>
      <dc:creator>Samuel Recio</dc:creator>
      <pubDate>Mon, 27 Apr 2026 20:39:32 +0000</pubDate>
      <link>https://dev.to/samuelrecio/vibe-coding-is-dangerous-without-a-trust-layer-the-missing-piece-of-ai-1ffn</link>
      <guid>https://dev.to/samuelrecio/vibe-coding-is-dangerous-without-a-trust-layer-the-missing-piece-of-ai-1ffn</guid>
      <description>&lt;p&gt;AI coding tools are superpowers. Using Cursor, Copilot, or Claude, an average developer can spin up a fully-featured UI and complex business logic in an afternoon. It’s called "vibe coding"—staying in the flow while the AI does the heavy lifting.&lt;/p&gt;

&lt;p&gt;But there is a massive, silent crisis happening right now: AI cannot architect trust.&lt;/p&gt;

&lt;p&gt;Every day, developers are shipping AI-generated applications to production that handle sessions insecurely, fail to revoke access correctly, and expose sensitive validation tokens to the client. AI is building the car fast, but forgetting the locks on the doors.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Blind Spot of LLMs:&lt;/strong&gt; AI understands code formatting, but struggles with distributed state, session revocation, and multi-tier security validation.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Disaster Scenario:&lt;/strong&gt; What happens when an AI generates your JWT middleware but forgets to validate the signing algorithm? (Hint: Instant API takeover).&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The Solution&lt;/em&gt; - A Trust Layer: Instead of asking AI to prompt-engineer secure auth, you decouple it entirely.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Pubflow&lt;/strong&gt; is the missing infrastructure for the AI era. It acts as the &lt;em&gt;"Trust Layer Standard"&lt;/em&gt;. You let the AI generate your frontend and business logic (Flowfull), while Pubflow’s managed trust layer (Flowless) handles the cryptographic assurance in the background. No exposed tokens. Instant revocation. &amp;lt;1ms validation.&lt;/p&gt;

&lt;p&gt;AI shouldn't write your session security. Architecture should handle it. If you're building apps at the speed of thought, put them on a foundation that won't crumble. Grab the free tier and secure your AI-generated app in minutes.&lt;/p&gt;


&lt;div class="crayons-card c-embed text-styles text-styles--secondary"&gt;
    &lt;div class="c-embed__content"&gt;
      &lt;div class="c-embed__body flex items-center justify-between"&gt;
        &lt;a href="pubflow.com/vibe-coding" rel="noopener noreferrer" class="c-link fw-bold flex items-center"&gt;
          &lt;span class="mr-2"&gt;pubflow.com/vibe-coding&lt;/span&gt;
          

        &lt;/a&gt;
      &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;


</description>
      <category>ai</category>
      <category>programming</category>
      <category>productivity</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Why I stopped rebuilding auth from scratch and built a universal trust layer instead</title>
      <dc:creator>Samuel Recio</dc:creator>
      <pubDate>Mon, 27 Apr 2026 20:28:35 +0000</pubDate>
      <link>https://dev.to/samuelrecio/why-i-stopped-rebuilding-auth-from-scratch-and-built-a-universal-trust-layer-instead-2fok</link>
      <guid>https://dev.to/samuelrecio/why-i-stopped-rebuilding-auth-from-scratch-and-built-a-universal-trust-layer-instead-2fok</guid>
      <description>&lt;p&gt;I’ll admit it: I used to take pride in building bespoke authentication systems. Every new SaaS or client project meant spinning up a new database, writing JWT middleware, handling password resets, OAuth callbacks, and rate limiting. It felt like "real engineering."&lt;/p&gt;

&lt;p&gt;Until I realized I was wasting 2-3 months of runway on plumbing before writing a single line of business logic.&lt;/p&gt;

&lt;p&gt;Worse? The alternatives didn't solve the core architectural problem. Auth0 priced me out at scale. Firebase locked my entire database into Google's ecosystem. Supabase held me hostage to PostgreSQL. And everyone still relied on exposing JWTs to the client browser, opening the door to XSS session theft.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Architecture Trap:&lt;/strong&gt; How mixing authorization, authentication, and business logic creates monolithic technical debt.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The JWT Illusion:&lt;/strong&gt; Why client-side JWTs are a ticking time bomb (delayed revocation, algorithm confusion, XSS exposure).&lt;/p&gt;

&lt;p&gt;Docker didn't sell containers; it defined a standard. REST defined APIs. Application backends needed a standard for trust.&lt;/p&gt;

&lt;p&gt;Introducing The Trust Layer Standard: We don't need highly-coupled auth products. We need a stateless architecture where the client only holds a meaningless session_id, and all trust verification happens entirely in the backend through cryptographically verified Trust Tokens.&lt;/p&gt;

&lt;p&gt;The Freedom Architecture: With a Trust Layer, your backend is just business logic. You can use any language (Node, Python, Go) and switch from PostgreSQL to LibSQL by changing one environment variable (We support most database) even BYOD and Zero lock-in.&lt;/p&gt;

&lt;p&gt;Stop paying the recurring tax of rebuilding infrastructure. Stop locking your apps into closed ecosystems. You can build under our Trust Layer in 5 minutes at pubflow.com, clone a starter repo, and own your code forever.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>security</category>
      <category>architecture</category>
      <category>saas</category>
    </item>
  </channel>
</rss>
