Commit Graph
6933 Commits
Author SHA1 Message Date
Jovan LanutanandGitHub 236c29e270 docs: remove unused import of 'auth' type in authClient setup (#3856)
In the previous implementation, the import statement for 'auth' type from './auth' was included as part of the setup for the authClient, but it is no longer being used in the current code. This update removes the unnecessary import to clean up the code and prevent potential confusion.

Additionally, the authClient setup remains intact with the use of 'inferAdditionalFields' plugin to define additional user fields (role type set to 'string').

- Removed unused import: `import type { auth } from "./auth"`
- Kept the authClient initialization with 'inferAdditionalFields' plugin

This resolves a minor issue and ensures that the code remains clean and maintainable.
2025-08-07 19:08:40 +03:00
Bereket Engida 76205b773f chore: release v1.3.5-beta.5 v1.3.5-beta.5 2025-08-07 00:03:51 -07:00
Grant GandGitHub 7575ef6a43 feat(oidc-provider): allow passing oauth consent code via query params (#3845)
* feat: pass oauth consent code via query params

* address cubic comments

* fix tests

* address comments
2025-08-07 00:03:05 -07:00
Alex YangandGitHub 079c33d5d8 fix(tiktok): client id is not used for TikTok social provider (#3846)
* fix: client id is unused for TikTok social provider

* fix: set header
2025-08-06 23:38:42 -07:00
Bereket Engida 1e61973c30 chore: enable ci for all branches 2025-08-06 17:23:54 -07:00
Bereket Engida 0cc68ee9ba docs: fix missing import 2025-08-06 17:02:13 -07:00
HystereliusandGitHub 723a4f4dde docs: update TOTP 2FA docs to state that Better-Auth implements a delay window (#3586)
Better Auth uses a delay window for TOTP code verification to ensure that it is resilient to time delays
2025-08-06 17:00:11 -07:00
KinfeMichael TarikuandBereket Engida 4c4c259a54 fix(cli): prisma schema generate mismatch on custom plugin table names (#3021)
* fix: generate mismatch

* clean up

* linkt

* lint

* clean up

* clean up

* lint

* lint

* test

* clean up

* clean up

* lint

* update
2025-08-06 16:38:50 -07:00
422aa488b7 feat(stripe): create billing portal session (#3625)
* feat(stripe) : add billing portal session endpoint

* create billing portal session

* update docs

* chore: changeset

* chore: fix stripe

* chore: remove comment

* chore: update docs

---------

Co-authored-by: Bereket Engida <Bekacru@gmail.com>
Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com>
2025-08-06 16:38:50 -07:00
KinfeMichael TarikuandBereket Engida f6f082b8ed fix(organization): team members should be cleaned up on delete team (#3833) 2025-08-06 16:38:50 -07:00
KinfeMichael TarikuandBereket Engida ddb20f089e fix: add missing team reference in teamMember schema (#3801) 2025-08-06 16:38:50 -07:00
KinfeMichael TarikuandBereket Engida f59343da43 docs: unify component implementations for consistency (#3799)
* fix(docs): unify component implementations for consistency

* update
2025-08-06 16:38:50 -07:00
fc67723b04 fix(reddit): refresh access token should use basic auth (#3753)
* reddit auth type

* changesets

* chore: remove changeset

---------

Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com>
2025-08-06 16:38:41 -07:00
Alex YangandBereket Engida 3ee67fcca0 chore(demo): replace isLoading using useTransition (#3775)
* fix: use `useTransition` for isLoading

* fixup! fix: use `useTransition` for isLoading
2025-08-06 16:38:41 -07:00
Manuel SanchezandBereket Engida f49a2fbf99 docs: adding reference to surrealdb adapter rewrite (#3754)
Adding reference to surrealdb adapter rewrite, with passing tests and schema generation as well as surreal native parameters.
2025-08-06 16:38:41 -07:00
KinfeMichael TarikuandBereket Engida 0eef0abc3b fix(org): use correct slug lookup when setting active org 2025-08-06 16:38:40 -07:00
KinfeMichael TarikuandGitHub 48063b6b3c fix(cli): prisma schema generate mismatch on custom plugin table names (#3021)
* fix: generate mismatch

* clean up

* linkt

* lint

* clean up

* clean up

* lint

* lint

* test

* clean up

* clean up

* lint

* update
2025-08-06 16:35:03 -07:00
b5273623bf feat(stripe): create billing portal session (#3625)
* feat(stripe) : add billing portal session endpoint

* create billing portal session

* update docs

* chore: changeset

* chore: fix stripe

* chore: remove comment

* chore: update docs

---------

Co-authored-by: Bereket Engida <Bekacru@gmail.com>
Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com>
2025-08-06 16:09:32 -07:00
11d9a2b151 fix: ensure zod v4 type annotations work with core types (#3834)
* fix: ensure zod v4 type annotations work with core types

* chore: lint

---------

Co-authored-by: Bereket Engida <Bekacru@gmail.com>
2025-08-06 16:06:55 -07:00
11aaba0914 fix: client secret should be optional in configuring the generic oauth plugin (#3824)
* fix: client secret should be optional because not all oauth authorizations method require it

* fix: use empty string as a secret fallback

* fix: don't use else if

Co-authored-by: Bereket Engida <Bekacru@gmail.com>

---------

Co-authored-by: Bereket Engida <Bekacru@gmail.com>
2025-08-06 15:56:21 -07:00
d518df8d0f test: improve test case for email verification (#3746)
* test: add the test case for email verification

* fixup! test: add the test case for email verification

* chore: remove changeset

---------

Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com>
2025-08-06 11:39:11 -07:00
KinfeMichael TarikuandGitHub 9c4a7b5d96 fix(organization): team members should be cleaned up on delete team (#3833) 2025-08-06 11:35:04 -07:00
c956a23f7a feat: remove revoked session from active sessions list (#3820)
* feat: remove revoked session from active list

* feat: remove revoked session from active list

* should throw error?

* feat: bypass logger

* test: update

* chore: fix types

---------

Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com>
Co-authored-by: Bereket Engida <Bekacru@gmail.com>
2025-08-06 11:25:02 -07:00
Fraol LemechaandGitHub 2481c1d575 fix(cli): only show the overwrite message when the schema file exists and the code has changed (#3826) 2025-08-06 11:01:19 -07:00
Bereket Engida 2636fe2dfb chore: release v1.3.5-beta.4 v1.3.5-beta.4 2025-08-06 09:03:37 -07:00
f13c40492c fix(generic-oauth): set account id from mapped user fields when creating account (#3649)
* fix: generic oauth plugin - 

* chore: add changeset

* chore: remove changeset

---------

Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com>
2025-08-06 09:01:37 -07:00
Bereket Engida 721f983b12 chore: release v1.3.5-beta.3 v1.3.5-beta.3 2025-08-05 23:31:51 -07:00
Bereket Engida 89974a9e0c chore: upgrade better-call version 2025-08-05 22:37:35 -07:00
Grant GandGitHub 9aebc3e9a0 feat(oidc-provider): add client to getAdditionalUserInfoClaim callback (#3790)
* feat: add oidc Client to getAdditionalUserInfoClaim

* address cubic comments

* run format
2025-08-05 21:17:42 -07:00
Alex YangandGitHub 722bcc8c5a feat: allow getUserInfo to return number type (#3816)
* fix: check user info id before link account

* fix: don't check

* feat: allow `getUserInfo` returns number type

* feat: allow `getUserInfo` returns number type

* fix: revert

* fix: lint
2025-08-05 21:16:13 -07:00
b3118e42d8 fix(mssql): "text" datatype is not working with mssql (#3144)
* fix(mssql-datatypes): text datatype is going to be removed from future version of SQL Server, Microsoft recommends to not use it anymore

* update: use varchar(max) instead

* fix

---------

Co-authored-by: ping-maxwell <maxwell.multinite@gmail.com>
2025-08-05 18:32:17 -07:00
Bereket Engida a1ddb3f766 chore: remove log 2025-08-05 18:27:03 -07:00
KinfeMichael TarikuandGitHub 2a81499e75 fix(magic-link): magic link URL construction (#3770)
* magic link pathname issue

* lint

* changesets

* remove changesets

* respect basePath if baseUrl has no pathname
2025-08-05 17:55:18 -07:00
KinfeMichael TarikuandGitHub 69d5239e8f fix: add missing team reference in teamMember schema (#3801) 2025-08-05 17:31:21 -07:00
KinfeMichael TarikuandGitHub 1932d04c5a docs: unify component implementations for consistency (#3799)
* fix(docs): unify component implementations for consistency

* update
2025-08-05 17:23:03 -07:00
Alex YangandGitHub f04570a6d8 chore: bump vitest version (#3810)
* chore: bump vitest version

* cleanup the server
2025-08-05 16:00:44 -07:00
Bereket Engida e57a49f99d chore: release v1.3.5-beta.2 v1.3.5-beta.2 2025-08-04 21:25:34 -07:00
Alex YangandGitHub 575070f605 chore: bump biome (#3784) 2025-08-04 13:48:54 -07:00
Bereket EngidaandGitHub 5eca938933 feat(organization): add option for requiring email verificaiton (#3785)
* feat(organization): add option for requiring email verificaiton

* add rejection

* docs: add docs
2025-08-04 13:12:46 -07:00
669ce3e6b7 fix(reddit): refresh access token should use basic auth (#3753)
* reddit auth type

* changesets

* chore: remove changeset

---------

Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com>
2025-08-04 12:50:24 -07:00
Alex YangandGitHub 2afdd69e95 chore(demo): replace isLoading using useTransition (#3775)
* fix: use `useTransition` for isLoading

* fixup! fix: use `useTransition` for isLoading
2025-08-04 11:11:20 -07:00
Manuel SanchezandGitHub e37e673e04 docs: adding reference to surrealdb adapter rewrite (#3754)
Adding reference to surrealdb adapter rewrite, with passing tests and schema generation as well as surreal native parameters.
2025-08-04 11:07:44 -07:00
3266232201 fix: plugins options type compatibility issue with exactOptionalPropertyTypes enabled in ts-config (#3769)
* tsconfig option

* Create odd-forks-fail.md

changesets

* chore: remove changeset

---------

Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com>
2025-08-04 11:05:28 -07:00
Bereket Engida ee63084a2e chore: remove changeset ci 2025-08-04 10:51:59 -07:00
Bereket Engida ca3a13407e chore: remove changeset 2025-08-04 10:44:45 -07:00
Bereket Engida b71e8a7ec0 Merge branch 'main' into canary 2025-08-04 10:43:02 -07:00
Alex YangandGitHub d313d0093e fix: await ctx in middleware (#3783)
* fix: await ctx in middleware

* fix: lint

* Create tidy-impalas-fail.md
2025-08-04 10:27:55 -07:00
KinfeMichael TarikuandGitHub 375fff5ac1 fix(org): use correct slug lookup when setting active org 2025-08-03 12:54:40 +03:00
Bereket Engida af239b7879 chore: remove changeset and add contributing code of conduct 2025-08-02 13:01:02 -07:00
Bereket Engida 987be984b4 chore(demo): add loading state on sign in button 2025-08-02 11:17:35 -07:00