okta / okta-signin-widget

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

IdpDiscovery feature locks username field without recourse #1667

Open JonsSpaghetti opened 3 years ago

JonsSpaghetti commented 3 years ago

:information_source: If you have a question, please post it on the Okta Developer Forum instead. Issues in this repository are reserved for bug reports and feature requests.

I'm submitting a

Background info

The idpDiscovery feature locks the username field if no routing rule is found. In cases where the user has mistyped the email (ex. fat-fingering a domain that SHOULD have been routed), the user has to refresh the page/leave the page and come back in order to reset the widget.

Expected behavior

There should be a button to reset the state of the widget back to the original single email field.

Steps to reproduce

If the current behavior is a bug, please provide the steps to reproduce and a minimal demo if possible (you can use this template as a starting point: https://jsfiddle.net/m2gyLq4v/). Enable IdpDiscovery in the okta sign in widget Enter any email address that wouldn't be captured by an IdP routing rule. See that you can't unlock the username fie.d.

Your environment

swiftone commented 3 years ago

@JonsSpaghetti - Thanks for the report, that does sound like a suboptimal experience. I'll flag it for the team to take a look at.

swiftone commented 3 years ago

Internal ref: OKTA-370452