LogoClawIndex
CasesSkillsAbout
LogoClawIndex

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.

configuring-better-auth - Better Auth OAuth/OIDC Configuration

Implement OAuth 2.1/OIDC authentication using Better Auth as auth server or SSO client

Tags

Updated: 2026-03-26

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Set up auth server
  • Configure OIDC provider
  • Register OAuth client
  • Implement SSO client
  • Configure PKCE flow
  • Verify tokens with JWKS
  • Refresh tokens
  • Handle global logout
  • Generate code verifier
  • Generate code challenge

Inputs

  • Database connection
  • OAuth client credentials
  • SSO server URL
  • Client ID
  • Redirect URIs

Outputs

  • Auth server instance
  • OAuth client registration
  • Access tokens
  • Refresh tokens
  • PKCE code verifier
  • PKCE code challenge

Requirements

  • Node.js environment
  • Better Auth package
  • Database adapter
  • Jose library

Source

  • Spec: SKILL.md
OAuth
OIDC
SSO
Authentication
PKCE
JWKS
Better Auth
Set up auth server
Configure OIDC provider
Register OAuth client
Implement SSO client
Database connection
OAuth client credentials
SSO server URL
Auth server instance
OAuth client registration
Access tokens