Inline Hook Error Handling with Default Okta Sign-In widget

Hi All,

I am using Okta password import inline hook for first time user login via Okta Default Sign-In widget. Were I am trying to display error message after the Hook response as below.

if ($isVerified) {

$response = [

"commands" => [

  [

    "type" => "com.okta.action.update",

    "value" => [

      "credential" => "VERIFIED"

    ]

  ]

]

];

} else {

$response = [

"error" => [

"errorSummary" => "Wrong credential! Please try again sometime"

]

];

}

This is mu Okta default sign-in code:

    oktaSignIn.renderEl({ el: '*okta-login-container' },

        OktaUtil.completeLogin,

        function(error) {

             if (error && error.errorSummary) {

                    oktaSignIn.showError(error.errorSummary);

                }

        }

    );

But the errorSummary not displayed as mentioned on login page? Is possible to set as expected?

Thank you for reaching out here on the Okta Developer Forum. We noticed that your question is more closely related to password import inline hook. To ensure you receive the most accurate and timely assistance, we recommend reposting your query on Okta’s Community at: Okta Help Center (Lightning)
Okta’s teams on the Community are better equipped to provide the comprehensive support and guidance you need as they have the specialised knowledge and expertise in password import inline hook.
We appreciate your understanding and are committed to ensuring you receive the best possible support. If you have any other questions or issues related to Okta’s developer tools and API’s, feel free to post them here, and we’ll be happy to assist!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.