Bart ⚡
Explore posts from serversBABetter Auth
•Created by Bart ⚡ on 2/22/2025 in #bug-reports
Expo: TypeError: Cannot read property 'subtle' of undefined
I updated the Expo client library and want to implement the magic link plugin, but when I try to use this plugin I'm receiving:
How could I fix it?
2 replies
BABetter Auth
•Created by Bart ⚡ on 1/10/2025 in #help
Magic link on mobile app
I easily implemented magic link authentication on the web app, and I'm trying to do the same in the mobile app (with Expo integration), but the callbackURL is not working and it never redirects me to my app, what should I do to handle this?
4 replies
BABetter Auth
•Created by Bart ⚡ on 1/7/2025 in #help
The returned data type from session on server is incorrect
When reading session on the api side, the dates are returned as date strings, that's why some checks (e.g. session freshness) are not working 😕
(I'm using Drizzle adapter)
3 replies
BABetter Auth
•Created by Bart ⚡ on 1/5/2025 in #help
Expo - can't login with social provider
I'm trying to use Expo plugin to login with Github provider, when I click the button the redirect is working correctly but I'm getting session back 😕
Here are the logs from
useSession
hook:
The backend is not throwing any error, but the redirect inside the app is not working. How can I fix it?
(the email method is working fine)
I'm on 1.1.1011 replies
BABetter Auth
•Created by Bart ⚡ on 1/3/2025 in #help
Expo types mismatch
Hi, I want to integrate better-auth with my Expo app, I created the client exactly like in the docs, but I'm receiving still the type error:
And this is the error that goes from plugin definition:
22 replies
PD🧩 Plasmo Developers
•Created by Bart ⚡ on 11/4/2024 in #👟framework
How can I change tab title?
I'm still getting
undefined
as document.title in rendered html 😕2 replies
PD🧩 Plasmo Developers
•Created by Bart ⚡ on 10/24/2024 in #👾extension
Vite?
Is there any chance to use Plasmo with Vite?
2 replies
PD🧩 Plasmo Developers
•Created by Bart ⚡ on 9/18/2024 in #👟framework
Possibility to customize path aliases?
I want to have all my extension related pages in one directory (e.g. /app). Is it possible?
I tried the solution below, but it's not working:
tsconfig.json
3 replies
PD🧩 Plasmo Developers
•Created by Bart ⚡ on 8/17/2024 in #🔰newbie
How to submit through Github Actions?

2 replies
TTCTheo's Typesafe Cult
•Created by Bart ⚡ on 4/23/2023 in #questions
tRPC throwing UNAUTHORIZED after logging in
After I'm logging in using my custom sign-in page (next-auth), I get a redirect to
/dashboard
. But there, all my tRPC queries are failing and throwing UNAUTHORIZED
error. After I simply reload the page everything seems to be working, why is it so?
Here's the code: https://github.com/Bartek532/rssmarkable2 replies
TTCTheo's Typesafe Cult
•Created by Bart ⚡ on 4/7/2023 in #questions
T3 Stack + custom Next.js server not working
Hi, I'm using t3 stack and trying to leverage Next.js custom server. But, unfortunately when I'm trying to run it using
ts-node
I'm constantly getting an error connected to module resolution (I guess it's because my next.config.mjs
has .mjs
extension):
What should I do to fix this? Here's the full code:
https://github.com/Bartek532/rssmarkable/pull/40
Thanks in advance for all suggestions! 🙂22 replies
TTCTheo's Typesafe Cult
•Created by Bart ⚡ on 3/26/2023 in #questions
Next.js + tRPC + Redis - pub/sub
Hi, I have an app made in Next.js, and I want to get some real-time log feature for it. I thought about using Redis Pub/Sub to do it, and use tRPC Subscriptions also. Ideally I want to publish a message from Next.js API Route and then handle it in tRPC subscription. But for now, I'm trying to make the simplest solution and it doesn't work. I follow docs and made needed things to use it (one diff is I replace event emitter with redis) and when I published my message it doesn't seem to be handled in subscription. Here's the code, I will be glad, if you can take a look and tell me what I'm doing wrong. Thanks in advance! 🙂
https://github.com/Bartek532/rssmarkable/pull/40
4 replies