Authentication
Easy web3 onboarding using simple authentication
Last updated
Easy web3 onboarding using simple authentication
Last updated
Web2 users are familiar with easy authentication flow with email, password, or google/apple providers. Meanwhile, Web3 onboarding involves complicated steps like educating users about cryptographic principles, secure key management, and the unique aspects of decentralized technologies. To improve the web3 onboarding experience, East SDK provides easy sign-in with Email OTP and Google providers.
TL;DR With web2 authentication, users will get a NEAR keypair that acts as their wallet
User signin with their email or google, this will act as their authentication
An account ({randomWord}.arkana.near
) will be created during the first-time login
(first-time login) User will generate a NEAR keypair in the background
User will get encryptedKeyPair
and encryptedSymmetricKey
that they will decrypt themselves
KMS will host the Key Encryption Key (KEK) to decrypt and encrypt symmetric key (a.k.a One Time Pad / OTP)
To decrypt the encryptedSymmetricKey, user will get short-lived RS256 signed JWT to authenticate to KMS server