InsForge Integrations provides guidance, architectural patterns, and code implementations for connecting external services to your InsForge backend. It covers wiring third-party auth providers—such as Clerk, Auth0, WorkOS, Kinde, Stytch, and self-hosted Better Auth—into Postgres using JWT-based Row Level Security (RLS) and custom user ID functions. Additionally, it provides end-to-end support for implementing the OKX x402 HTTP micropayment protocol using EIP-3009 signed authorizations and USDG on X Layer, enabling gasless, pay-per-use API endpoints.
주요 기능
01JWT-based Row Level Security (RLS) setup using requesting_user_id() helpers
02Gasless pay-per-use HTTP billing with OKX x402 payment facilitator
03External auth integration for Clerk, Auth0, WorkOS, Kinde, Stytch, and Better Auth
04EIP-712 domain validation and EIP-3009 transfer authorization flows
0545 GitHub stars
06Realtime settlement triggers and database recording for payment events
사용 사례
01Securing multi-tenant InsForge Postgres tables with Clerk or Auth0 JWT claims
02Migrating from proprietary SaaS auth to self-hosted Better Auth in InsForge Postgres
03Implementing onchain pay-per-use API billing settled via OKX on X Layer