<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D5KZ00000xogPV0AYOkta Identity EngineWorkflowsAnswered2025-06-30T15:57:41.000Z2025-06-17T15:08:00.000Z2025-06-30T15:57:41.000Z

RajaR.78546 (Customer) asked a question.

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?


  • TimL.58332 (Workflows)

    @RajaR.78546 (Customer)​  -- This community forum is focused on leveraging the existing built-in Okta products and their features. What it appears you are discussing is building out custom code/handling based on Inline Hook responses. All "code" based questions will likely find a much better response over on the Dev forums.

     

    https://devforum.okta.com/

     

     

    Expand Post
    Selected as Best
  • TimL.58332 (Workflows)

    @RajaR.78546 (Customer)​  -- This community forum is focused on leveraging the existing built-in Okta products and their features. What it appears you are discussing is building out custom code/handling based on Inline Hook responses. All "code" based questions will likely find a much better response over on the Dev forums.

     

    https://devforum.okta.com/

     

     

    Expand Post
    Selected as Best
This question is closed.
Loading
Inline Hook Error Handling with Default Okta Sign-In widget