Custom Sign In | React ref for LoginLink || login() function in NextJS SDK
When using a custom login flow i want to be able to handle the on enter event of the email input field for example to start the auth flow and click the Login Button
I thought I could just use a react ref on the LoginLink component but it does not allow refs in the props (See Image)
The documentation on custom auth has a
login()
login()
function one could use on a button or smthing like that
But the NextJS SDK does not seem to have that function anywhere ?