https://supabase.com/ logo
I'm not quite sure of exactly what I want, but is ...
# help
g
I'm not quite sure of exactly what I want, but is there a callback to run something when authentication happens or a token is refreshed? I'd like to keep the user object in react-query, which works by wrapping up
supabase.auth.signIn()
into a react-query custom hook, but of course that doesn't stay in sync when supabase refreshes the token and etc..
n
Hello @gorbypark! This thread has been automatically created from your message in #843999948717555735 a few seconds ago. We have already mentioned the @User so that they can see your message and help you as soon as possible! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ``...`` menu) and select "Leave Thread" to unsubscribe from future updates. Want to change the title? Use the ``/title`` command! We have solved your problem? Click the button below to archive it.
g
g
amazing, thanks!
n
Thread was archived by @gorbypark. Anyone can send a message to unarchive it.