Skip to content

A React-Native mobile app uses Web3Auth login and integrated with AWS-Cognito custom auth flow

Notifications You must be signed in to change notification settings

JerryIshihara/expo-web3auth-cognito

Repository files navigation

React Native Expo Authentication with Web3Auth & Cognito

status badge

Auth Flow

  • Get Public-key/Private-key with Web3Auth Login with Web3Auth-supported options (Passwordless, Google, Apple, etc), and get the Public-key/Private-key pair.
  • Get Cognito identity with the key pair Login to Cognito with the key pair (relayed by the Web3Auth provider). Cognito will run the custom-auth-flow to authenticate the user. You may follow this tutorial.

Run Demo

  • yarn to install dependencies
  • Delete the duplicated react-native-svg in @walletconnect package.
rm -rf node_modules/@walletconnect/react-native-dapp/node_modules/react-native-svg
  • Fill .env.template and save as .env
  • expo start

About

A React-Native mobile app uses Web3Auth login and integrated with AWS-Cognito custom auth flow

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages