Hello Okta Team
For Login Flow, I want to show an error banner like this with a custom message
Is there a way to invoke this error banner? Like widget..showError(‘Custom msg’)?
Hello Okta Team
For Login Flow, I want to show an error banner like this with a custom message
Is there a way to invoke this error banner? Like widget..showError(‘Custom msg’)?
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
Thank you for posting in Okta Developer Forum. My name is Akash, from Okta and I will be assisting you with your queries.
For your requirement, you can modify the i18n properties to update the error message.
To update the error message that you are seeing on the screen, you can update the i18n property errors.E0000004 with the custom message as shown below. Please follow the steps given in this article - Okta Help Center (Lightning)
var config = OktaUtil.getSignInWidgetConfig();
config.i18n.en['errors.E0000004'] = 'Custom Text';
Feel free to let me know if you have any other queries or concerns.