SIWW
  • Sign-in with Wallet (SIWW)
  • Specifications
    • Abstract
    • Motivation
    • Open source libraries
    • Security considerations
  • Use Cases
    • NodeJS - Backend implementation
      • 1. Setup passport-wallet
      • 2. Connect to SIWW
      • 3. Manage your authentication token
      • 4. Add authentication routes
      • 5. Code the views
      • 6. Full sample app
      • 7. Debugging and Q&A
    • ReactJS - connect to backend
      • 1. Add a login route
      • 2. Redirect the route to your backend
    • JS - Native calls to SIWW libs
      • 1. Initialize SIWW client lib
      • 2. Connect to a Wallet
      • 3. Create a message
      • 4. Send a message
      • 5. React JS App
    • Authenticating as an end-user
      • 1. Have a wallet available
      • 2. Connecting and signing
Powered by GitBook
On this page
  1. Use Cases
  2. NodeJS - Backend implementation

6. Full sample app

Previous5. Code the viewsNext7. Debugging and Q&A

Last updated 2 years ago

A complete sample app implementation is available on GitHub. Follow the link below.

Important: since you may run this sample app on localhost, it cannot be reached from the SIWW backend. You will need to configure it as follows:

i/ tunnel the localhost, for example by using ngrok

ii/ add the ngrok address into the localhost config of SIWW (login to SIWW as admin)_

Check the end-to-end implementation in the tutorial video below

sign_in_with_wallet/backend_sample at main · incubiq/sign_in_with_walletGitHub
Logo