Configure Connect Only Mode
Setup
By default, the SDK will authenticate all users which means users will need to sign when logging in. This page describes how you can remove the authentication step and allow users to just connect their wallets to log into your site.
Usage
initialAuthenticationMode (optional)
If you want to skip signing a message and just connect, then set the
initialAuthenticationMode
to connect-only
.
enableVisitTrackingOnConnectOnly (optional)
If you are using the connect-only
mode, then you also have the option to
disable visitor tracking by setting enableVisitTrackingOnConnectOnly
to false.
If you set this to false
then we will not track visitors. Note that you will
not be able to see visitor information in our visitors table or analytics page.
isFullyConnected
The DynamicContextProvider will provide a isFullyConnected
boolean value that you can use to determine if the user has connected their wallets, where more than one wallet is used in a connect only flow, for example in a Bridge. If there is only one wallet to be connected i.e. you are not using bridgeChains
, isFullyConnected will be true when the user connects a single wallet.
User Management & Analytics
Any user who connect, but does not authenticate, will appear in your dashboard
as a Visitor
. You’ll be able to see them in your
user management table or in
analytics under as Visitors
.
Was this page helpful?