OneAuth Developer Guide

OneAuth is a Go authentication library that provides a unified interface for local and OAuth-based authentication. It separates concerns between...

OneAuth Developer Guide

OneAuth is a Go authentication library that provides a unified interface for local and OAuth-based authentication. It separates concerns between users, identities, and authentication channels to support multiple authentication methods per user.

Documentation

Getting Started

  • GETTING_STARTED.md — Installation, store setup, LocalAuth config, route mounting (5-minute quickstart)

Core Guides

  • BROWSER_AUTH.md — OAuth integration, channel linking, session management, validation, error handling
  • API_AUTH.md — JWT tokens, APIAuth setup, APIMiddleware, API keys, scopes, custom claims, multi-tenant KeyStore
  • GRPC.md — gRPC context utilities and auth interceptors
  • STORES.md — Store interfaces, FS/GORM/GAE implementations, KeyStore, keystoretest suite

Reference