It would be nice if Supabase could let me get the ...
# ideas-and-suggestions
s
It would be nice if Supabase could let me get the providerData like google display name / profilePic / Github profile from the Supabase auth object.
l
Yeah would be cool to have supabase fetch the data from the auth provider instead of having to do it in your own backend
s
Yeahh right!
Ig when we focus on a firebase alternative this is defo a trade off.
l
I mean there is already a provider_token object
and supabase is a backend as a service so
might as well at least gives us an option for it to handle fetching the data itself
and then we just have an object like
provider_data
k
They are already have this in user_metadata column.
From Supabase do, select * from auth.users and u could see user name and avatar fetched for all social logins.
l
what if I need more data than that though
k
U just mentioned these two and they already exists. If you need more than that then u can create a function that return u the user token and u query it urself :).
s
This is great