zenny.eth
05/23/2022, 9:43 PM/auth/v1/user
.
One thing I'm trying to track down is what exactly is calling /auth/v1/user
. It looks like it gets called after the successful oAuth signIn flow.
Could it be this line of code? const session = supabase.auth.session()
garyaustin
05/23/2022, 10:10 PM/**
* Returns the session data, if there is an active session.
*/
session(): Session | null {
return this.currentSession
}
So not making a network call at all.
I'm not sure where all /user gets called, but it appears to be called from at least getSessionFromUrl, which I believe is used on link returns from auth. Then probably if you call api.getUser().