J0
12/29/2021, 11:56 AMsupabase
library is tagged to a commit which doesn't have match
released. We can update that and publish a new release. As for the dataclasses
bug let me think about it for a moment and get back to youJ0
12/29/2021, 11:58 AMJ0
12/29/2021, 11:58 AMSteve
12/29/2021, 12:01 PMJ0
12/29/2021, 12:11 PMcountries
table and it seems to use about ~30% as well. Not too sure how to check exact breakdown though.jmsunseri
12/29/2021, 12:21 PMAnoushk
12/29/2021, 12:33 PMuser
12/29/2021, 12:34 PMjmsunseri
12/29/2021, 1:07 PMjmsunseri
12/29/2021, 1:08 PMjmsunseri
12/29/2021, 1:14 PMktosiek
12/29/2021, 1:19 PM.setAuth()
is a pretty low-level thing.
If you can, use .signIn({refresh_token: ...})
- that will setup the session, current user, and background token refresh (at least in browser it should)jmsunseri
12/29/2021, 1:21 PMsupabase.auth.setAuth(headers.authorization);
const { user } = await supabase.auth.api.getUser(headers.authorization);
Anoushk
12/29/2021, 1:21 PMktosiek
12/29/2021, 1:26 PMsignIn
)jmsunseri
12/29/2021, 1:26 PMJ0
12/29/2021, 1:27 PMjmsunseri
12/29/2021, 1:27 PMjmsunseri
12/29/2021, 1:27 PMktosiek
12/29/2021, 1:27 PMjmsunseri
12/29/2021, 1:28 PMktosiek
12/29/2021, 1:28 PMsignIn()
then the supabase lib should refresh tokens in the backgroundAnoushk
12/29/2021, 1:28 PMjmsunseri
12/29/2021, 1:34 PMjmsunseri
12/29/2021, 1:34 PMxtc
12/29/2021, 2:03 PMjmsunseri
12/29/2021, 2:23 PMktosiek
12/29/2021, 2:28 PMjmsunseri
12/29/2021, 2:44 PMjmsunseri
12/29/2021, 2:44 PM