Hi @dan.woda,
Thank you for the response
I am not running node with this setup.
I tried to use your reply as a guideline but still having issues.
I got this:
this.auth0Manage = new auth0.Management({ domain: AUTH_CONFIG.domain, token: this._accessToken });
and later the method I call:
public sendConfirmationEmail(){ var params = { user_id: this.sessionService.getCurrentId() }; this.auth0Manage.sendEmailVerification(params, function(err) { if (err) { // Handle error. console.log(err); } console.log("email sent"); });
}
with this I get error “this.auth0Manage.sendEmailVerification is not a function”… If I try to use ManagementClient instead of Management, it will only return undefined - Management gives a clear connection to API v2 though.