Thanks for reaching out.
Unfortunately, you cannot merge the Verify code and Continue buttons in one button using Custom Policy. You need to work with a front-end developer to use a custom HTML page for your signup/sign-in with JavaScript/CSS for this purpose.
You may consider using JavaScript MutationObserver to detect that the Continue button has been enabled, then automate the clicks with javascript.
$("#continue").hide();
var observer = new MutationObserver(function (mutations) {
mutations.forEach(function (mutationRecord) {
$("#continue").show();
});
});
var target = document.getElementById('email_success');
observer.observe(target, { attributes: true, attributeFilter: ['style'] });
Hope this will help.
Thanks,
Shweta
Please remember to "Accept Answer" if answer helped you.