I have a User that has already validated into the community initially with SMS. The next day, in addition to SMS, this User wants to also validate with EMAIL (because they don't have access to their cell phone to receive the code and need to log into the community with an unverified method). Is this possible?
SCENARIO:
Monday - User logs into Community for first time and registers using initSelfRegistration(SMS) > verifySelfRegistration(SMS).
Tuesday - User attempts to log into Community again, but now they want to use Email (because they don't have their mobile phone) - which method should I leverage from the documentation? (I thought it would be initVerificationMethod() or initRegisterVerificationMethod(), but neither seem to be successful)
ERROR MESSAGES:
initVerificationMethod() - User/Org configuration error: Could not send code due to :Email not verified (okay, I learned that this is for re-sending the verification if the User already has verified their method)
initRegisterVerificationMethod() - This operation is not allowed for internal user profiles. (okay, now I need to know how to allow an existing internal community user to add a verification method in addition to an existing one - so that both checkboxes are checked in the above screenshot: User Verified Mobile Number & User Verified Email)
How can I verify an existing community user (which has already self registered with SMS initially) with EMAIL before they log into the community? - see screenshot
thank you!!!
initVerificationMethod
first. If that doesn't work, please edit your question and provide a Minimal, Reproducible Example