I am trying to create a user using passport-auth0 Node.js library. I want to send the customised verification email after sometime via an API call. I have seen example wherein it was demonstrated about how to set verify_email as false by creating users using Auth0 Management API /api/v2/users. I would like to know how to achieve the same using the passport auth0 strategy.
I have the following middleware when the user signs up
passport.authenticate('auth0', {
clientID: process.env.AUTH0_CLIENT_ID,
domain: process.env.AUTH0_DOMAIN,
redirectUri: 'http://localhost:5000/callback/',
responseType: 'code',
audience: 'https://' + process.env.AUTH0_DOMAIN + '/userinfo',
scope: 'openid profile email'
}).
I would like to know how to set the verify_email key as false for the newly created user. Can it be done only after authentication or is there any extra field that can be set to the middleware shown above??