Repository navigation
Releases
Releases · patrickkabwe/betterauth-go
v1.2.0
1.2.0 (2026-08-15)
✨ Features
- Add standard OAuth providers (7e90f7f)
- Add API key plugin (86bfdb0)
- Add i18n error messages (2d3cb27)
- Add SCIM provisioning (bd3e036)
- Add Stripe billing plugin (05e9243)
- Add SAML SSO plugin (d0020fc)
- Add Passkey WebAuthn plugin (24b8ccf)
- Add OIDC SSO and OAuth providers (dd800f1)
- Expand Better Auth parity coverage (c5c3a15)
🐛 Bug Fixes
- Docs (a4b0d06)
- CLI (7b89924)
- Align auth parity behaviours (6759187)
- Consume reset tokens before password update (c6a1cad)
- Align verification email session checks (e5eb32a)
- Return errors for failed session revocation (e48e861)
- Require reset callback redirect (776885b)
- Propagate reset session revoke failures (099591c)
- Propagate unlink account delete failures (5ae74e9)
- Propagate change password store failures (5a521f4)
- Propagate set password store failures (c6ff522)
- Propagate delete user failures (79a0a1e)
- Propagate password reset failures (0a479fd)
- Propagate password verification failures (3cc2c85)
- Propagate sign in internal failures (cd4e6cf)
- Propagate sign in verification email failures (1919d6b)
- Handle sign up lookup failures (51132eb)
- Skip duplicate sign up timing hash when rejecting (26fc4b5)
- Propagate change email send failures (638e2c1)
- Propagate email change callback send failures (c038202)
- Create sessions for email change verification (ea250b1)
- Gate linked profile updates behind config (53d0ffd)
- Return null user for verified email links (204fa7e)
- Equalize verification email timing (1ebbd6c)
- Align update session response shape (b6fc622)
- Avoid leaking user data on duplicate sign up (4e64d68)
- Reject invalid verification email requests (0c44348)
- Require account id for account info (1165f8d)
- Reject account user id without session (12a1973)
- Fail closed on session refresh errors (3c8d5c8)
- Preserve scopes on implicit token refresh (db39259)
- Pass scopes to account info providers (934b14e)
- Preserve social ID token account fields (b8a9c90)
- Honor OAuth error callback state (3891149)
- Align OAuth post callback merge (489453e)
- Preserve OAuth error descriptions (ec16229)
- Pass OAuth callback user data (6b0374a)
- Reject expired OAuth state (271df58)
- Propagate OAuth state create failures (3ed7cf8)
- Require OAuth state consumption (1b3afdb)
- Honor social provider sign up policy (375aeed)
- Pass social ID token user data (3d3098a)
- Align implicit social linking policy (5715347)
- Return updated implicit link user (10da0a2)
- Propagate social account update failures (26a42a2)
- Propagate social email verification failures (ce3121b)
- Propagate OAuth user lookup failures (e8057f1)
- Send verification for social sign up (39c4a69)
- Honor account update on sign in (026afe9)
- Support social user info override (f8184ae)
- Flatten OAuth state additional data (b22308b)
- Align social ID token email errors (0529080)
- Propagate OAuth link account lookup failures (2a6b5f5)
- Propagate OAuth link account update failures (ba05df8)
- Enforce Google hosted domain (f0e9b46)
- Support disabling default provider scopes (46e5776)
- Pass GitHub prompt and login hint (aac1d02)
- Pass Google display option (37aaa29)
- Pass OAuth display option (7eaa916)
- Pass GitHub response type ([8d33d26](https://github.com/patrickkabwe/better...
v1.1.0
Better Auth for Go 1.1.0
Changes since v1.0.0:
What's new
- fix: ci (0bf85bc)
Install
Go module (library + CLI):
go get github.com/patrickkabwe/betterauth-go@v1.1.0
go install github.com/patrickkabwe/betterauth-go/cli@v1.1.0
betterauth --versionPrebuilt CLI — download the binary for your platform below, then:
chmod +x betterauth-<platform>
./betterauth-<platform> secretAssets
| Platform | Binary |
|---|---|
| macOS (Apple Silicon) | betterauth-darwin-arm64 |
| macOS (Intel) | betterauth-darwin-amd64 |
| Linux (amd64) | betterauth-linux-amd64 |
| Linux (arm64) | betterauth-linux-arm64 |
| Windows (amd64) | betterauth-windows-amd64.exe |
| Windows (arm64) | betterauth-windows-arm64.exe |
Verify downloads with SHA256SUMS.
Full changelog: https://github.com/patrickkabwe/betterauth-go/commits/v1.1.0
v1.0.0
Better Auth for Go 1.0.0
First stable release of betterauth-go — a Go server compatible with Better Auth clients.
What's included
- Auth core — sessions, cookies, CSRF, rate limiting, security hooks
- HTTP routes — sign-in/up, email flows, sessions, users, OAuth
- Plugins — organization, two-factor, bearer, OIDC, admin, and more
- Stores — memory and SQL adapters (Postgres, SQLite, MySQL)
- Providers — Google and GitHub OAuth
- CLI —
generate,migrate,secret,info,init - Go HTTP client — server-side Better Auth API client
- Examples — React, Vue, Svelte, Expo, and basic Go server
- Docs — GitHub Pages–ready documentation
Merged changes
- Merge pull request #1 from patrickkabwe/feat/internal-crypto
- Merge pull request #2 from patrickkabwe/feat/types-and-constants
- Merge pull request #3 from patrickkabwe/feat/internal-apierror-oauth2
- Merge pull request #4 from patrickkabwe/feat/internal-jwt-id
- Merge pull request #5 from patrickkabwe/feat/store
- Merge pull request #6 from patrickkabwe/feat/internal-cookie
- Merge pull request #7 from patrickkabwe/feat/auth-core
- Merge pull request #8 from patrickkabwe/feat/auth-routes
- Merge pull request #9 from patrickkabwe/feat/providers
- Merge pull request #10 from patrickkabwe/feat/auth-security
- Merge pull request #12 from patrickkabwe/feat/auth-tests
- Merge pull request #11 from patrickkabwe/feat/plugins
- Merge pull request #13 from patrickkabwe/doc/documentation
- Merge pull request #14 from patrickkabwe/examples
- Merge pull request #15 from patrickkabwe/feat/cli
Install
Go module (library + CLI):
go get github.com/patrickkabwe/betterauth-go@v1.0.0
go install github.com/patrickkabwe/betterauth-go/cli@v1.0.0
betterauth --versionPrebuilt CLI — download the binary for your platform below, then:
chmod +x betterauth-<platform> # macOS / Linux
./betterauth-<platform> secretAssets
| Platform | Binary |
|---|---|
| macOS (Apple Silicon) | betterauth-darwin-arm64 |
| macOS (Intel) | betterauth-darwin-amd64 |
| Linux (amd64) | betterauth-linux-amd64 |
| Linux (arm64) | betterauth-linux-arm64 |
| Windows (amd64) | betterauth-windows-amd64.exe |
| Windows (arm64) | betterauth-windows-arm64.exe |
Verify downloads with SHA256SUMS.
Full changelog: https://github.com/patrickkabwe/betterauth-go/commits/v1.0.0