hi there, I'm fairly new to supabase and trying to...
# off-topic
c
hi there, I'm fairly new to supabase and trying to store the avatar picture I receive from oauth providers (i.e. Google) via the auth user metadata to a supabase bucket (e.g. 'avatars'). Did anyone implement something like this? Is there a better way (always directly loading from the oauth provider?)? Thanks for your help! BTW: I'm using sveltekit (javascript)
s
You can just save the URL to the image in your database and refer to it instead of storing the image itself in storage.
c
@User thanks, that's what I'm doing now, just wondered if there was a "better" way with supabase since it already offers stoarge. Sometimes I get a permission error when trying to load the image on localhost, so I thought it might be more stable this way (might be a cross-domain issue though).