'göktürk
02/12/2022, 10:38 AMjavascript
const signInWithDiscord = async () => {
const { user, session, error } = await supabase.auth.signIn({
provider: "discord",
});
console.log(user);
};
Here, after the user logs in with discord, I want to get the user, but when the button is pressed, console.log works directly and the user is null.silentworks
02/12/2022, 12:46 PMsilentworks
02/12/2022, 12:48 PM