Kaleb
Kaleb
BABetter Auth
Created by Kaleb on 4/18/2025 in #help
what tables are a must for better auth to work
hello, i wonder to know why beter-auth uses so many tables and if they are optional i want to delete them specially session table which makes my db usage pretty high and costy. what do you say about this?
5 replies
BABetter Auth
Created by Kaleb on 4/17/2025 in #help
I cant decode better auth session cookie.
Here is the snippet: https://pastecode.dev/s/dcdiax2w It's golang middleware, i am trying to decode my custom cookie with my secret. But the decoded user id is not correct, here is the log: Authenticated user ID: 0a4576bf33389e8c5af142006a6e6d28bb03507a4628f130 ( raw bytes: 0a4576bf33389e8c5af142006a6e6d28bb03507a4628f130, encoded:CkV2vzM4noxa8UIAam5tKLsDUHpGKPEw )
1 replies
BABetter Auth
Created by Kaleb on 4/15/2025 in #help
How to decode a cookie
Hey, i am new here and wondering how to decode a cookie to get it's value?
2 replies
BABetter Auth
Created by Kaleb on 4/15/2025 in #help
golang backend with nextjs cookie check.
I have created better auth server in my nextjs client app and want to integrate with a golang api service, but i don't know how to extract the cookie in my middleware, how to extract data from a cookie. I have tried jwt plugin as an alternate solution but still can't figure out how to extract the data correctly. I need to use cookie if possible.
6 replies