luksch42
luksch42
BABetter Auth
Created by Ani on 2/24/2025 in #help
Issue in create-t3-turbo better-auth implementation
I fixed it. Had multiple versions of better fetch installed @Ani
5 replies
BABetter Auth
Created by entropy on 2/28/2025 in #help
Dynamically setting baseURL
I fixed it. Had multiple versions of better fetch installed @entropy
12 replies
BABetter Auth
Created by entropy on 2/28/2025 in #help
Dynamically setting baseURL
12 replies
BABetter Auth
Created by entropy on 2/28/2025 in #help
Dynamically setting baseURL
@entropy any progress here?
12 replies
BABetter Auth
Created by entropy on 2/28/2025 in #help
Dynamically setting baseURL
I'm getting the same error. It's happening without dynamic parameters and only the expoClient plugin too
12 replies
BABetter Auth
Created by luksch42 on 1/2/2025 in #help
getCookie() does not exist on authClient - Expo plugin errors
I‘ve read the past release notes this morning and there we‘re some expo related changes after 1.1. Maybe something related?
28 replies
BABetter Auth
Created by luksch42 on 1/2/2025 in #help
getCookie() does not exist on authClient - Expo plugin errors
Apple and google, working good @Bart ⚡
28 replies
BABetter Auth
Created by Bart ⚡ on 1/3/2025 in #help
Expo types mismatch
Just in case: have you tried to restart your ts server?
22 replies
BABetter Auth
Created by Bart ⚡ on 1/3/2025 in #help
Expo types mismatch
What’s your zod version and is it consistent? Im on 3.24.1
22 replies
BABetter Auth
Created by luksch42 on 1/2/2025 in #help
getCookie() does not exist on authClient - Expo plugin errors
Let’s hop over to your issue 🙂
28 replies
BABetter Auth
Created by luksch42 on 1/2/2025 in #help
getCookie() does not exist on authClient - Expo plugin errors
Yes, for both. Is your client config ok? I had to set the storage explicitly after upgrading which was not the case before @Bart ⚡
28 replies
BABetter Auth
Created by luksch42 on 1/2/2025 in #help
getCookie() does not exist on authClient - Expo plugin errors
Currently I’m on 1.1.8
28 replies
BABetter Auth
Created by luksch42 on 1/2/2025 in #help
getCookie() does not exist on authClient - Expo plugin errors
@Bart ⚡ yes, I’m using a turbo repo and I guess somewhere was still an old better-auth version left which caused the error.
28 replies
BABetter Auth
Created by luksch42 on 1/2/2025 in #help
getCookie() does not exist on authClient - Expo plugin errors
Update: I cleared all types of caches and removed all node_modules folders in my repo, and now it's working again. 🙃
28 replies
BABetter Auth
Created by luksch42 on 1/2/2025 in #help
getCookie() does not exist on authClient - Expo plugin errors
Thanks for your help, I’ll figure that out tomorrow!
28 replies
BABetter Auth
Created by luksch42 on 1/2/2025 in #help
getCookie() does not exist on authClient - Expo plugin errors
Doesn’t work at all. @bekacru
28 replies
BABetter Auth
Created by luksch42 on 12/12/2024 in #help
empty session in custom plugin hook
Update: getSessionFromCtx did the job import type { BetterAuthPlugin } from "better-auth"; import { posthog } from "@.../posthog"; import { createAuthMiddleware } from "better-auth/plugins"; import { getSessionFromCtx } from "better-auth/api"; export const posthogPlugin = () => ({ id: "posthogPlugin", hooks: { after: [ { matcher: (context) => context.path.startsWith("/organization/create"), handler: createAuthMiddleware(async (ctx) => { const session = await getSessionFromCtx(ctx); if (!session) { return; } posthog.capture({ distinctId: session.user.id, event: "organization_create", }); }), }, ], }, }) satisfies BetterAuthPlugin;
2 replies
BABetter Auth
Created by luksch42 on 12/11/2024 in #help
Organizations database hooks
Love it
7 replies
BABetter Auth
Created by luksch42 on 12/11/2024 in #help
Organizations database hooks
@bekacru
7 replies