Custom error support in okta-signin-widget

I’m using okta-signin-widget(5.5.0). Based on my requirement, after successful authentication by Okta, I want to verify user exists in the system as well. If the user exists, proceed further and redirect. Otherwise set custom error to the signin-widget and stay on the login page. Is it possible to achieve?

Capture

You could try using processCreds from the signin widget.