Magic link
Generate an access token for your users by sending them a magic link to their email
Send an email with magic link
Using the WalletKit client, send an email to the user’s email address. This will contain a magic link that the user can click to verify their email address.
Wait for user to click the link
In your app, ask the user to click the link sent to their email. You can wait for the user to click the link by polling the WalletKit API.
Get access token
Once the session challenge has been completed, you can get the access token for the user.
Handle access token
If you are using one of the WalletKit SDKs, you can skip this step - the SDK will handle this for you.
If you are using the WalletKit API directly, you will need to store the access token returned by the verify-login
call. This token is used to authenticate the user in subsequent API calls.