
SeetN.95274 (Customer) asked a question.
Hi all, I am testing on self registration with email verification first before proceed with set password. We modified the code as provided in the oie-embedded-sdk-use-case-self-reg for nodejs and the code shown below are what we are testing with the SDK.
Code as follows:
As we checked the system log, the process evaluation of sign-on policy and no email sent out. I have tried the same process using the java based sample program. It is fine and the system log showing that email have been sent without issue.
Please advice if we are using the correct sdk method - idx.register for this process.
Thanks in advance.

On your line 8 have you tried "authenticator: AuthenticatorKey.OKTA_EMAIL," which should equate to 'okta_email'?
https://github.com/okta/okta-auth-js/blob/master/docs/idx.md#idxregister
https://github.com/okta/okta-auth-js/blob/master/docs/idx.md#idxauthenticate