kaas
BABetter Auth
•Created by kaas on 2/22/2025 in #help
Microsoft login
Following the docs, newest version:
2025-02-22T11:20:43.974Z ERROR [Better Auth]: TypeError [TypeError: The "payload" argument must be of type object. Received null] {
code: 'ERR_INVALID_ARG_TYPE'
}
When logging in with Microsoft?
And error 500
How come?
11 replies
BABetter Auth
•Created by kaas on 2/12/2025 in #bug-reports
Session stealing?
Not sure if this is actually a bug. But try opening better auth in two windows (one in normal, one in incognito). Doing a few refreshses etc - And suddenly user 1 will become user 2?
The browsers are totally seperated?
Running newest stable version of better-auth. Tried this also on a public facing one and the same happend.
13 replies
BABetter Auth
•Created by kaas on 11/13/2024 in #bug-reports
EDE in API endpoint set-active
API endpoint to set active org -> Is showing alot of information
It drops the entire tables out back to the user just for setting active - Where API endpoint get-full-org is pulled right after.
I think ths API endpoint should return false/true if its set, and not return the whole objects.
27 replies
BABetter Auth
•Created by kaas on 11/12/2024 in #bug-reports
MongoDB
Fresh install nextjs following docs - And using the following for mongodb
auth.ts
my db instance
index.ts
"mongodb is not supported" when doing generate. "
44 replies
BABetter Auth
•Created by kaas on 11/1/2024 in #bug-reports
[Not sure if bug] Admin plugin does not use the Infering Types
As title says
Using the create user
Does not adhere to any custom fields made in auth.ts
I've added
The only fields it seems to take into consideration is the pre-defined fields that are found in the docs
eg:
All fields are undefined, but they are parsed to the function correctly.
7 replies