AuthSdkError: Suppress Sdk error from user

Hi,

I Am trying to handle the error internally without displaying to the end user. for some reason the AuthSdkError is displayed to the user when there is some issue. how to suppress or handle this internally.

Are you using React? I think you’ll need to write your own ImplicitCallback component.

yes, am using react. in sample application I dint find any implicit component. any reference would be appreciated.

There’s a Route you add in your app which loads the default okta ImplictCallback component. See: https://developer.okta.com/code/react/okta_react/#connect-the-routes.

You could copy the code in that file as a base, and load your custom ImplicitCallback instead and modify it to suit your needs.

1 Like

Thank you Marc! I will try with that.

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