Okta Sign-In Widget Example not working

Hi team,

Following this guide: https://developer.okta.com/code/react/okta_react_sign-in_widget/

I’ve copy and pasted the example code in the necessary React components, set my config.js up as shown (with my okta-dev account details) and when attempting login, get the following error: “There was an unexpected internal error. Please try again.”

Here is what I’m seeing with the console open:

Console: react_devtools_backend.js:2430 [okta-auth-sdk] DEPRECATION: This method has been deprecated, please use signInWithCredentials() instead.

My app details and the oktaAuthConfig/oktaSignInConfig match.

I am using the same email address and password to login as my dev account.

Any ideas?

Cheers!

Will

1 Like

I just had a new hire today experience this during first setup of OKTA as well.

@willwearing We probably need more info for your configuration setup. Would you like to add a code snippets and open a support ticket through an email to support@okta.com with this issue. One of our Developer Support Engineers will take the case and assist you. Thanks

1 Like

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