Custom redirect after linkIdentity()
function fails
#32641
Unanswered
IgorArthur
asked this question in
Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The documentation for linking an identity to a user specifies that "If the candidate identity is already linked to the existing user or another user,
linkIdentity()
will fail." I am facing the problem to be automatically redirected to the Supabase project SiteURL, when I wish I could set a customerrorAuthRedirectTo
or something like that. I am currently using the same Supabase project in another product, and I cannot change the current SiteURL to match this product requirements.Furthermore, I have already tried to change the
redirectTo
insidelinkIdentity()
options, but it seems to only redirect to the custom URL in the case of the user being successfully authenticated, and what I need is to set a custom URL to when the user FAILS this authentication.There is a way to set this custom URL when
linkIdentity()
fails?Beta Was this translation helpful? Give feedback.
All reactions