Magic Link Authentication
auth.verification_tokens
table in your database.callbackUrl
configured in the sign
component.Obtain Database Credentials
.env
file so they can be used in the application to connect to the Nile auth service.
Configure Email Settings
Enable Passwordless Login
Run create-next-app
Install dependencies
api
under the app
folder and a folder called [...nile]
under it:nile
instance to your application:Frontend Implementation
<EmailSignIn />
component is used to send a magic link to the user’s email address.