I'm using supabase-js to manage auth. When a user logs in supabase-js adds the access-token and refresh_token etc to local storage. I have an event set up that let's me know when this happens so I can set session cookies and then use the access_token for api calls etc (if i understand correctly.)
But how do i use get 'Get from local storage" to extract it. I've tried loads of different things and no joy. Any ideas?