Create a session middleware with the given options. Then dapp and wallet can interact together with session without scan qrcode or paste uri.