Ping
BABetter Auth
•Created by ak11 on 4/29/2025 in #help
Offline support for expo apps
Sorry I don't have much experience in Expo. 😅
Maybe @bekacru could help?
7 replies
BABetter Auth
•Created by Stephen on 4/29/2025 in #help
Populate username field with social usernames
I thought you were using the
signUp.username
method.14 replies
BABetter Auth
•Created by Stephen on 4/29/2025 in #help
Populate username field with social usernames
Oh I see! You're using mapProfileToUser, right of course.
Yeah you'll have to run this check yourself.
14 replies
BABetter Auth
•Created by Stephen on 4/29/2025 in #help
Populate username field with social usernames
Better auth would check if username is already taken
14 replies
BABetter Auth
•Created by Stephen on 4/29/2025 in #help
Populate username field with social usernames
name
is a requirement in Better Auth. In the future this will be customizable.
username
is more system friendly, yeah. The DisplayName could be thought of as a public-facing name a user may want to allow others to see. For example, a user may have their name
set, but don't want to share that publically, instead they can use the displayName
.
There isn't any limitations to display name, you can set either however you want. Except username will be automatically sanitised. (If I remember correctly)14 replies
BABetter Auth
•Created by Stephen on 4/29/2025 in #help
Populate username field with social usernames
You can use
mapProfileToUser
.
https://www.better-auth.com/docs/concepts/oauth#other-provider-configurations14 replies
BABetter Auth
•Created by Glen Kurio on 4/29/2025 in #help
useSession returns null for data in Next.js
Are you sure the data isn't just pending? Because while it's pending you will get
null
.9 replies
BABetter Auth
•Created by Kenny on 4/27/2025 in #help
v1.2.6 and v.1.2.7 throws errors when logging in
Hey, I'm not 100% sure this will fix your issue. But I've opened a PR which would make Kysely adapter choose "safer" options when it comes to whether a given DB type supports
Dates
and other fields.
https://github.com/better-auth/better-auth/pull/24786 replies
BABetter Auth
•Created by roze789 on 4/28/2025 in #help
Inferring Additional Fields on Server
You'll have to force cast a type for now. In the future this will be resolved.
4 replies
BABetter Auth
•Created by neetras on 4/28/2025 in #help
Sign in request gets hanged
The authClient uses those same endpoints. Are you sure you're passing all the necessary data to make the request?
9 replies
BABetter Auth
•Created by neetras on 4/28/2025 in #help
Sign in request gets hanged
I need to test other endpoints in Postman which requires me to login first.Okay.
what if I want to integrate the API in other platforms which doesn't have better auth client?That's fine, I just mean for testing purposes.
9 replies
BABetter Auth
•Created by Kenny on 4/27/2025 in #help
v1.2.6 and v.1.2.7 throws errors when logging in
Can I see your auth config rq?
6 replies
BABetter Auth
•Created by neetras on 4/28/2025 in #help
Sign in request gets hanged
Why not try the authClient itself?
9 replies
BABetter Auth
•Created by Wietse on 4/17/2025 in #help
deleteUser response: FAILED_TO_GET_USER_INFO
Are you using auth.api.deleteUser? or using the authClient?
7 replies
BABetter Auth
•Created by Wietse on 4/17/2025 in #help
deleteUser response: FAILED_TO_GET_USER_INFO
That error occurs when there isn't an active session
7 replies
BABetter Auth
•Created by dennis on 4/28/2025 in #help
Error when trying to remove optional field from organization
Set it to
null
5 replies
BABetter Auth
•Created by Elite on 4/26/2025 in #help
Google auth on plasmo browser ext
oauth hasn't been testing on browser extensions, so we don't know.
9 replies