How does callbackURL work with expo routing
Get Stripe subscription by User Id
referenceId
can be either the user ID or the org ID):
```
export const getSubscription = async (referenceId: string) => {
return db.query.subscriptions.findFirst({
where: eq(subscriptionsTable.referenceId, referenceId),...get-session returning null with 200 status code
The inferred type of this node exceeds the maximum length the compiler will serialize.

ip Address is not stored in db
Centralized Auth with Better Auth Across Multiple Domains – CORS Issues
help on how to structure schema
Manual Setup? Cannot run @better-auth/cli generate
Phone number verification with twilio verification
Forgot password link doesnt handle query params in the redirectUri
https://auth.staging.company.com/auth/reset-password/rEjo8qGzUJNTQ1YbhVhaiuMA?callbackURL=http://localhost:6006/iframe.html?args=&globals=viewport%3Aiphone13pro&id=embed-pages-account--iframe&viewMode=story
The url that I get redirected to is: http://localhost:6006/iframe.html?args=&token=rEjo8qGzUJNTQ1YbhVhaiuMA
but it should instead keep the query params...Help with organization & user management
listAccounts()
listAccounts()
is returning null unauthorized. Am I missing something that needs to be passed to listAccounts?
```
const accounts = await authClient.listAccounts();
// unauthorized
console.log("accounts in authentication form", accounts);...auth.api.listUserAccounts({headers: await headers()})
auth.api.listUserAccounts({headers: await headers()})
Migrating Supabase Auth only (dbs in neon)
tanstack integration question
reactStartCookies()
plugin from better-auth/react-start
and that it needs the to be the last plugin in the setup.
It also says, that it's recommended to use the client SDK or authClient
. What is the client SDK? Is that better-auth/client
? If so what is authClient
that is mentioned in the same sentence? ...NextJS handler not setting the cookie in production
Session management returns null even after successful signup and login
Help on implementing custom auth
How to make authenticated fetch request using Tanstack query?
useSession Causing Hydration Mismatch Inside Suspense
useSession
inside Suspense
will cause hydration mismatch error, but if i remove the Suspense
, the error disappear.
Current solution is to use isMounted
before render anything from useSession
...Discord Invalid Scope
activities.read
, under the Discord section and I keep getting an error - Is there any workaround/fix to this? Thanks!
P.S. The scope with identify and email is okay but whenever I add the one mentioned previously, it just throws an error....