workflowstacks

The marketplace for AI skills that launch offers, rank in AI search, and automate operations. No coding required.

๐•โšก๐Ÿ’ฌ

Marketplace

  • Browse Skills
  • AI Agents
  • Claude Skills
  • MCP Servers
  • Prompts

Solutions

  • For Founders
  • For Agencies
  • For Ecommerce
  • Agent Builder
  • Starter Packs
  • Playbooks

Learn

  • How It Works
  • What Are Skills
  • What Are Agents
  • What Is MCP
  • For Creators
  • Submit a Tool
  • Security

Company

  • Become a Creator
  • About
  • Enterprise
  • API Docs
  • Terms
  • Privacy
  • Support
Compatible with
๐Ÿค–ChatGPT
โœจClaude
๐Ÿ’ŽGemini
๐Ÿ›๏ธShopify
๐Ÿ”Ahrefs
๐Ÿ“ŠSheets
๐Ÿ’ฌWhatsApp
๐Ÿ“ฑMeta Ads
+50 moreCreator program โ†’

ยฉ 2026 WorkflowStacks. All rights reserved.

TermsPrivacySupport
saas-starter

better-auth: Easy SaaS Auth

Get comprehensive authentication with better-auth. For SaaS founders.
29,046 stars2,682 forksTypeScriptQuality 8/10Updated 7/7/2026100% free ยท open source
What it does

Better-auth provides a comprehensive authentication system for SaaS applications, handling user registration, login, and authorization in a secure and scalable manner.

Install / run
npm install @better-auth/core
When to use it
  • โ€ขWhen building a SaaS application that requires secure user authentication and authorization
  • โ€ขWhen needing to integrate multiple authentication providers, such as Google, Facebook, or GitHub
  • โ€ขWhen requiring a customizable and extensible authentication system to fit specific business needs
Quick start
  1. 1Create a new instance of the BetterAuth class, passing in your application's configuration: `const betterAuth = new BetterAuth({ clientId: 'your_client_id', clientSecret: 'your_client_secret' })`
  2. 2Configure the authentication providers using the `betterAuth.providers` object, for example: `betterAuth.providers.google = { clientId: 'your_google_client_id', clientSecret: 'your_google_client_secret' }`
  3. 3Implement the authentication flow using the `betterAuth.authenticate()` method, which returns a promise that resolves to an authentication result object
  4. 4Use the `betterAuth.authorize()` method to check if a user has permission to access a specific resource or perform a specific action
  5. 5Refer to the example configuration file `config.example.ts` in the BetterAuth repository for a complete example of how to configure the library
Ready-to-paste prompt
To authenticate a user with Google, use the following code: `betterAuth.authenticate('google').then((result) => console.log(result))`
Heads up: Make sure to handle errors properly when using the `betterAuth.authenticate()` and `betterAuth.authorize()` methods, as they can throw exceptions if the authentication or authorization process fails, for example: `betterAuth.authenticate('google').catch((error) => console.error(error))`
Saves to your device

Topics

authentication
iam
oauth
oauth2
oidc
sso
stripe
typescript
What's inside โ€” free to inspect
No purchase needed

Read the entire source before you build โ€” unlike paid marketplaces that hide it behind a buy button.

26
top-level files
12
folders
141.5M
repo size
MIT
license
Key files
AGENTS.md
package.json
README.md
tsconfig.base.json
tsconfig.dist-check.json
tsconfig.json
File tree
.changeset/
.cspell/
.github/
.greptile/
.postmortem/
.vscode/
demo/
docs/
e2e/
packages/
patches/
test/
.cspell.jsonc
.gitattributes
.gitignore
.nvmrc
AGENTS.md
banner-dark.png
banner-light.png
biome.json
CLAUDE.md
CODE_OF_CONDUCT.md
context7.json
CONTRIBUTING.md
Quick Actions
Details
Creator
better-auth
Language
TypeScript
Category
saas-starter
Published
5/19/2024

Are you the creator of this tool? Claim your listing โ†’ and earn 85% of every sale.

Related skills

More saas-starter tools founders pair with this one.

saas-starterโ˜… 23,631
react-starter-kit: Fast Web Apps
Build fast web apps with react-starter-kit, a production-ready monorepo for startup founders, backed by 24k+ GitHub stars.
saas-starterโ˜… 14,881
Jumpstart SaaS with open-saas
Get a free, full-featured JS SaaS boilerplate for startup founders, with 15k+ GitHub stars.
saas-starterโ˜… 8,317
PraisonAI: Autonomous AI Agents
Ship self-improving agents with PraisonAI. For founders needing AI workforce solutions.
saas-starterโ˜… 4,858
saas-starter-kit: Fast SaaS Setup
Get a Next.js SaaS boilerplate for quick enterprise app development, ideal for startup founders, with 4.8k+ GitHub stars
saas-starterโ˜… 4,480
SaaS Boilerplate
Get a head start with SaaS boilerplate, a productive stack for founders. 4.5k+ GitHub stars
saas-starterโ˜… 3,585
Flexprice: Usage-Based Billing
Get flexible pricing and billing for your SaaS with flexprice, ideal for startup founders, backed by 3.6k+ GitHub stars.