Passport SDK v8
  • Overview
  • Account Lifecycle
  • Integration
    • Client Side Enablement
    • Credenza Presence (Optional Visual Elements)
    • Account Provisioning (Sign-up)
      • New Authentication System
      • Existing Authentication System - New Customer
      • Existing Authentication System - Existing Customer
  • Passport Subsequent Logins
  • Post-Login Capabilities
    • Account Information Access
    • Blockchain Wallet Access
  • Smart Contract Interactions
    • Instantiating The Contract Object (Server-Side)
    • Instantiating The Contract Object (Client-side)
    • Calling Contracts
  • Monetary Transactions
  • Appendix I: Passport Configuration Options
    • Credenza Core Web SDK (Auth)
    • Ethers.js
    • Installation
    • Usage
    • Passport Instance Properties
    • Passport Static Properties
    • Modes
  • Appendix IA: Transaction UI v3.0 (now part of Passport)
    • Installation
    • Usage
    • Apple Pay
    • Google Pay
    • Methods
    • Events
  • Appendix II: MetaMembership Contract Access
  • Appendix III: Ledger Contract Access
  • Appendix IV: Decentralized Commerce Configuration
  • Appendix V: Migration From Previous Passports
Powered by GitBook
LogoLogo

©2023 Credenza. All rights reserved.

On this page
  1. Integration
  2. Account Provisioning (Sign-up)

New Authentication System

Credenza Passport offers a standalone login system that prioritizes simplicity by minimizing the required metadata. However, it allows for an extension of the registration process to capture additional information if needed.

This option is the simplest as it doesn't require the normalization of an existing database. It also provides an easy way to utilize Credenza Presence UI elements, though we recommend maintaining a separate store for additional metadata for CRM purposes.

If you're developing a new app but still want a customer login process, there's a straightforward path to achieving that. Once the application obtains the email address (either through a text box or inferred from a promotional email), the process can be initiated with the following call:

If you're using Presence visual elements, this call is integrated into the login dialog and automatically executes upon receiving a valid email.

For first-time registrants, the passport.on("UpdateProfile",...) event is triggered. Therefore, if any additional metadata is required from the user, you can redirect accordingly.account page or create an interstitial page. For all subsequent logins for the user, onLogin is triggered.

PreviousAccount Provisioning (Sign-up)NextExisting Authentication System - New Customer

Last updated 1 year ago