supabase-dual-auth-dotnet

Integrate Supabase authentication into .NET backends with dual JWT validation.

Updated Jul 7, 2026
One-click install
npx skills add https://github.com/TitoPrausee/nexus-toti --skill supabase-dual-auth-dotnet
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: supabase-dual-auth-dotnet
Source: https://github.com/TitoPrausee/nexus-toti/tree/main/data/skills/software-development/supabase-dual-auth-dotnet
Command: npx skills add https://github.com/TitoPrausee/nexus-toti --skill supabase-dual-auth-dotnet

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you add Supabase authentication to an existing .NET backend without breaking your current custom JWT flow, while keeping authorization, user identity, and row-level security aligned across server and mobile clients.

Core Features & Use Cases

  • Dual Authentication: Validate both Supabase-issued tokens and your existing custom JWTs through one backend authentication setup.
  • RLS Migration Support: Add PostgreSQL helper functions and policies so the database can authorize requests from either auth system.
  • Self-Hosted Supabase Setup: Configure GoTrue and Kong with Docker Compose for local or DSGVO-conscious deployments.
  • Flutter Client Initialization: Wire up Supabase in a Flutter app with environment-based configuration and auto-refresh friendly startup behavior.
  • Use Case: A team migrating a production .NET API can keep server-side sessions working while onboarding a mobile app that signs in through Supabase.

Quick Start

Ask the Skill to design the dual-auth migration plan for your .NET backend, including the RLS helper functions, JWT validation setup, Docker Compose services, and Flutter initialization steps.

Frequently Asked Questions about supabase-dual-auth-dotnet

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add Supabase authentication to a .NET backend without breaking my existing custom JWT authorization?

You can implement dual JWT validation to authenticate both Supabase-issued tokens and existing custom JWTs within a single .NET backend setup, ensuring server-side sessions remain active during the migration.

How do I configure PostgreSQL row-level security policies when migrating to dual JWT authentication?

You configure row-level security by adding PostgreSQL helper functions and policies that authorize database requests from either the Supabase or custom auth system.

Can I self-host Supabase with Docker Compose for DSGVO-conscious deployments while using dual auth?

Yes, you can configure GoTrue and Kong with Docker Compose to achieve self-hosted Supabase deployment for local or DSGVO-conscious environments alongside your dual JWT validation flow.

How do I initialize Supabase in a Flutter app for a production system using dual authentication?

You wire up Supabase in a Flutter app using environment-based configuration and auto-refresh friendly startup behavior to support both Supabase and custom token flows.

What is the best way to migrate a production .NET API to Supabase auth without dropping custom tokens?

The best way is establishing fallback support for both token flows, allowing a production .NET API to maintain custom JWT authorization while onboarding a mobile app signing in through Supabase.