anonymous onLinkAccount() never called using auth.api.signUpEmail() or auth.api.signInEmail()

onLinkAccount() logic seemed to work using authClient.signIn.email() however I am doing the function calls on the backend inside TRPC endpoint and therefore am calling auth.api.signUpEmail() or auth.api.signInEmail() which do not seem to work in this case. Is that expected behaviour?
Was this page helpful?