Deleted User
12/29/2021, 6:57 PMconst { data: user, error } = await supabase.auth.api.generateLink({
type: 'invite',
email: 'test@gmail.com'
});
But i get an error message like this:
{
message: 'Could not read body: json: cannot unmarshal object into Go struct field GenerateLinkParams.type of type string',
status: 400
}
What's wrong? What's the difference beetween signup / invite? Do we have a verify type?
3) How to initialize a session when a user signIn? How the UI (React) can understand if a user is authenticated or not?Scott P
12/29/2021, 7:19 PMDeleted User
12/29/2021, 7:24 PM