okta / okta-signin-widget

HTML/CSS/JS widget that provides out-of-the-box authentication UX for your organization's apps
Other
375 stars 319 forks source link

Errors in Console while Navigating within Widget #2452

Open dansternfeld1 opened 2 years ago

dansternfeld1 commented 2 years ago

Describe the bug

I'm using the latest Okta Widget (6.2.0) delivered from the Okta CDN to my page.

After opening the widget and clicking a couple of links within it, I see three separate console error messages in a row:

Panic!!
Cannot find view state for form identify-recovery.
All available form names: identify,select-enroll-profile,unlock-account,redirect-idp,redirect-idp,redirect-idp

What is expected to happen?

No console errors should be present

What is the actual behavior?

Console errors are presented to the user

Reproduction Steps

  1. Open widget
  2. Click "Forgot your password"
  3. Click "Back to sign in" and observe the console errors

SDK Versions

Okta widget code is loaded from CDN https://global.oktacdn.com/okta-signin-widget/6.2.0/js/okta-sign-in.min.js

Execution Environment

Tested on several browsers, but I'm using Chrome on Mac OS X right now

Additional Information?

Okta Case# 01357132

Okta ClientID and Domain can be provided upon request

aarongranick-okta commented 2 years ago

@dansternfeld1 Thank you for the report. We are aware of this issue and will correct it in an upcoming release. The message happens on the "Back to sign in" and should have no negative effects (besides the annoying console message).

dansternfeld1 commented 2 years ago

Thanks for the prompt response, @aarongranick-okta!

We are aware of this issue and will correct it in an upcoming release.

Please update this issue when you know which release will contain the fix.

aarongranick-okta commented 2 years ago

I've found the cause of the issue and created an issue in our workstream to correct it. Internal ref: OKTA-490220