Passport Subsequent Logins
Implementing logins after registration will follow the same form as registration, except the onUpdateProfile
event will not trigger. Session state can be configured by Credenza, but defaults to 7 days. If it has been longer than 7 days, the request for this can come in one of two ways.
Active Login – On the rendering of a page, a page can require preemptively require Credenza Passport login verification to ensure everything is ready and all Passport facilities are instantly accessible. This may cause friction for users that don’t want to go through the login process if they don’t need to.
Passive Login – Passport has the ability to be passive about requesting access, which means that it can wait until a blockchain operation requiring a signature is called before it requests credentials. This delays the friction, but may come at an inopportune time.
Both of these approaches are acceptable and should be considered based on the optimal experience for the user experience for the specific site.
Last updated