I am trying to resend an email confirmation email ...
# help
f
I am trying to resend an email confirmation email to users. For what I've read the only way is to generate the link in the client and send it via our own email system. However, when I try to do
await supabaseClient.auth.api.generateLink('signup',userEmail);
I receive a 401 with
msg: "User not allowed"
. What's the proper way to resend an email confirmation?
n
Hello @ferpintado! This thread has been automatically created from your message in #843999948717555735 a few seconds ago. We have already mentioned the @User so that they can see your message and help you as soon as possible! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ``...`` menu) and select "Leave Thread" to unsubscribe from future updates. Want to change the title? Use the ``/title`` command! We have solved your problem? Click the button below to archive it.
g
Are you calling this with the service key (which you don't want to do in a browser client)? Can't comment on proper way.
n
ferpintado (2022-06-02)
f
Is generateLink meant to be executed on server side only?
g
Yes. Sorry for the late response did not see your reply flagged.
f
Thanks
2 Views