How can I access to oauth scopes data?

No data corresponding to scopes could be found in user metadata.
const signInWithKakao = async () => {
const { data, error } = await supabaseClient.auth.signInWithOAuth({
provider: 'kakao',
options: {
scopes: 'name gender birthday birthyear phone_number account_ci',
},
});
const signInWithKakao = async () => {
const { data, error } = await supabaseClient.auth.signInWithOAuth({
provider: 'kakao',
options: {
scopes: 'name gender birthday birthyear phone_number account_ci',
},
});
3 Replies
garyaustin
garyaustin2y ago
It only comes back in the user data in the client after signup/in. You are responsible for storing it how you feel comfortable doing so. Supabase does not store it after the refresh of the session after signup/in.
Miryang
MiryangOP2y ago
I need to do additional client develop, thank you.

Did you find this page helpful?