DanMossa
03/30/2022, 10:07 PMraw_app_meta_data
it shows their provider.
But now if they login with their email being the same as the google email, I get an error that their email is already in use, and if it's a create account, then it's an incorrect username and password.
How can I get the app_meta_data? or what's the proper flow?Needle
03/30/2022, 10:07 PM/title
command!
We have solved your problem?
Click the button below to archive it.garyaustin
03/30/2022, 10:17 PMNeedle
03/30/2022, 10:17 PMDanMossa
03/30/2022, 10:29 PMerror saving new user
garyaustin
03/30/2022, 10:33 PMDanMossa
03/30/2022, 10:34 PMgaryaustin
03/30/2022, 10:34 PMDanMossa
03/30/2022, 10:35 PMgaryaustin
03/30/2022, 10:35 PMDanMossa
03/30/2022, 10:35 PMgaryaustin
03/30/2022, 10:35 PM/*
const {user, error} = await supabase.auth.signUp({
//provider: 'discord',
email:'ga@gr.com',
password:'test1324'
},{
redirectTo: 'http://s.us/so'
})
*/
/* const { data, error:error1 } = supabase.auth.api
.resetPasswordForEmail('ga@gr.com')
console.log('reset',data,error1)
*/
And then updated the user password.DanMossa
03/30/2022, 10:47 PMgaryaustin
03/30/2022, 10:48 PMDanMossa
03/30/2022, 10:49 PMduplicate key value violates unique constraint "users_email_key"