Hi, I am trying to auto-populate an email field in an OKTA SPA using Jquery. Following code is auto populating the field, but I am getting error “This field cannot be left blank” on submit. Please help
$(‘input[name=“identifier”]’).val(“abc.gmail.com”);
$(‘input[name=“identifier”]’).attr(‘value’, “abc.gmail.com”);
$(‘input[name=“identifier”]’).trigger(“change”);
Hi @abhinash
Where are you seeing this message and where is this customisation created i.e. within Okta product, on your side?
Is this a Prod Okta org OR dev Okta org OR a trial Okta org you are using?
I would recommend opening a support case with our team, as we can then assist you better.
We haven’t customized the OKTA widget. We are try to auto populate the email id in email field when user clicks forgot password link.