Authentication
Generate an access token for your users using their email address
1
Send an email with OTP
Using the WalletKit client, send an email to the user’s email address. This will contain a one-time password (OTP) that the user will use to verify their email address.
Typescript
2
Verify email
In your app, ask the user to enter the verification code they received in their email. Once they enter the code, send it to WalletKit to verify the email address.
Typescript
3
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.
curl