Elite
Elite
Explore posts from servers
BABetter Auth
Created by Elite on 4/26/2025 in #help
Google auth on plasmo browser ext
So what would I need to do?
9 replies
BABetter Auth
Created by Elite on 4/26/2025 in #help
Google auth on plasmo browser ext
I’ve seen other extensions have Google auth tho
9 replies
BABetter Auth
Created by Elite on 4/26/2025 in #help
Google auth on plasmo browser ext
Oh
9 replies
BABetter Auth
Created by Elite on 4/26/2025 in #help
Mongodb indexable?
ty
4 replies
BABetter Auth
Created by Elite on 4/26/2025 in #help
Google auth on plasmo browser ext
will following the guide not work? https://www.better-auth.com/docs/guides/browser-extension-guide i just change it to google auth instead of email and password. i have the nextjs site already made. To what url do I redirect the user in extension? And how can I get the data I need to store. Same with logouts
9 replies
BABetter Auth
Created by Elite on 3/26/2025 in #help
newbie: are my conventions for checking if a user is logged in on client and server side fine?
Sorry for the late reply, will check this out. Thank you! Also is my middleware fine for defining public routes and etc
5 replies
TTCTheo's Typesafe Cult
Created by Elite on 6/24/2024 in #questions
instant updates from route handler to frontend
Hm ok
54 replies
TTCTheo's Typesafe Cult
Created by Elite on 6/24/2024 in #questions
instant updates from route handler to frontend
300 seconds is enough right. 2 min max per transaction.
54 replies
TTCTheo's Typesafe Cult
Created by Elite on 6/24/2024 in #questions
instant updates from route handler to frontend
we have pro tier. so 300 seconds
54 replies
TTCTheo's Typesafe Cult
Created by Elite on 6/24/2024 in #questions
instant updates from route handler to frontend
kinda
54 replies
TTCTheo's Typesafe Cult
Created by Elite on 6/24/2024 in #questions
instant updates from route handler to frontend
Can I not do streaming or smth like that.
54 replies
TTCTheo's Typesafe Cult
Created by Elite on 6/24/2024 in #questions
instant updates from route handler to frontend
Hm ok thanks
54 replies
TTCTheo's Typesafe Cult
Created by Elite on 6/24/2024 in #questions
instant updates from route handler to frontend
or any better way to optimize
54 replies
TTCTheo's Typesafe Cult
Created by Elite on 6/24/2024 in #questions
instant updates from route handler to frontend
so with the flow i sent above, is my appraoch right? checking every 5 seconds for 2 min?
54 replies
TTCTheo's Typesafe Cult
Created by Elite on 6/24/2024 in #questions
instant updates from route handler to frontend
no so we actually invoice them automtically with the paypal api when the form is submitted
54 replies
TTCTheo's Typesafe Cult
Created by Elite on 6/24/2024 in #questions
instant updates from route handler to frontend
so basically i can't make my backend send a request to my frontend. the frontend needs to check continuously
54 replies
TTCTheo's Typesafe Cult
Created by Elite on 6/24/2024 in #questions
instant updates from route handler to frontend
wdym? the flow is: user submits the form, we auto invoice their paypal. then we set a 2 min timer for the user to pay the invoice. if user pays, paypal sends us a webhook. we then update a db field. frontend continually checks updated field value in mongodb every 5 sec. if the user does not pay, (2 min goes past), and no paypal webhook sent, then we cancel the invoice and update state to show an error on frontend
54 replies
TTCTheo's Typesafe Cult
Created by Elite on 6/24/2024 in #questions
instant updates from route handler to frontend
ye well it would depend on how fast the user pays the invoice. so ill probs set a max of 2 min, and then stop checking and cancel the transaction
54 replies
TTCTheo's Typesafe Cult
Created by Elite on 6/24/2024 in #questions
instant updates from route handler to frontend
So rn, when the user submits the form we auto invoice them based on the details they put. Then when the invoice is paid PayPal sends a webhook. There I would update that transaction in my db, and on the frontend I constantly check with a timer for any changes of that value right
54 replies
TTCTheo's Typesafe Cult
Created by Elite on 6/24/2024 in #questions
instant updates from route handler to frontend
ye i am, so it isnt possible for my backend endpoint to send some data over to the frontend to update
54 replies