ayersss
ayersss
BABetter Auth
Created by George on 4/21/2025 in #bug-reports
Stripe plugin - upgrade() creates two subscriptions instead of updating existing one.
Yeah I got same issue here. Have u found a workaround?
3 replies
BABetter Auth
Created by Lionvsx on 3/22/2025 in #bug-reports
[STRIPE] Annual discount & Upgrade
hi, did u find a workaround for this?
4 replies
BABetter Auth
Created by Lionvsx on 3/22/2025 in #bug-reports
[STRIPE] Annual discount & Upgrade
bump
4 replies
BABetter Auth
Created by jalol on 4/20/2025 in #help
Can I use better auth as authentication layer between hono backed and next js frontend?
hi, i have a hono app as auth server and another backend for business logic. I am using jwt plugin for both client and auth server. You can call authClient.token() to get the token and send it as bearer token to ur backend to validate.
11 replies
BABetter Auth
Created by rhitune on 4/2/2025 in #help
Is there any way to create organization after user create hook?
Thanks for the snippet and answer! I made it working now!
13 replies
BABetter Auth
Created by ayersss on 4/15/2025 in #help
Auth service in microservice architecture
unless you are using server action / nextjs api endpoint
11 replies
BABetter Auth
Created by ayersss on 4/15/2025 in #help
Auth service in microservice architecture
but seems like you only have one backend so no need for this complexity?
11 replies
BABetter Auth
Created by ayersss on 4/15/2025 in #help
Auth service in microservice architecture
then you can invoke getToken() and send it to the backend to verify
11 replies
BABetter Auth
Created by ayersss on 4/15/2025 in #help
Auth service in microservice architecture
I also use jwt plugin and you'll need to add jwtClient in your authClient
11 replies
BABetter Auth
Created by ayersss on 4/15/2025 in #help
Auth service in microservice architecture
@Ayaan Meman Are you using Server Actions or API endpoints in your Next.js app? I’m working with a React SPA and two backend servers — one for better-auth and one for core business logic. What I need is to verify the requests sent to the API backend. My frontend will pass the token, and I'm using jose to verify it. So the api server does not have any better-auth config. While my approach works for now but I think there might be a better way to do this
11 replies
BABetter Auth
Created by rhitune on 4/2/2025 in #help
Is there any way to create organization after user create hook?
hi, I have same question. How can I create an org after new user signs up? In you code snippet how do you get access to auth instance?
13 replies
BABetter Auth
Created by ayersss on 4/15/2025 in #help
Auth service in microservice architecture
hi, thanks for the reference! I end up using bearer token for authentication
11 replies