We are using the Okta Sign in Widget for a particular project where the business owners feel the generic error message ‘Sign-in Failed’ does not give a great user experience. The business owners feel this could lead their users to feel there is an issue on the businesses side, rather than their being an issue with the authentication credentials themselves.
Is there any way with the widget to improve this messaging to say ‘Invalid Credentials’ or ‘failed to validate your request’? Otherwise may need to have some jQuery listener.
It seems like the i18n isn’t loading because of that property.
If you are still seeing an error, what error are you seeing? And if you are still having an issue, what version of the widget are you using? I tested with 1.11.0 and 2.3.0, this seems to work.
doctype html
html
head
title= title
link(rel='stylesheet', href='https://ok1static.oktacdn.com/assets/js/sdk/okta-signin-widget/2.3.0/css/okta-sign-in.min.css')
link(rel='stylesheet', href='https://ok1static.oktacdn.com/assets/js/sdk/okta-signin-widget/2.3.0/css/okta-theme.css')
link(rel='stylesheet', href='/stylesheets/style.css')
script(type='text/javascript', src='https://ok1static.oktacdn.com/assets/js/sdk/okta-signin-widget/2.3.0/js/okta-sign-in.min.js')
script(type='text/javascript', src='/javascripts/default.js')
body
block content