fusionauth-issues
fusionauth-issues copied to clipboard
Clicking "discover endpoints" 4 times in rapid succession on the OIDC identity provider creates broken UX
Clicking "discover endpoints" 4 times in rapid succession on the OIDC identity provider creates broken UX
Description
You can break the admin UI UX by clicking rapidly on the "discover endpoints" label.
Observed versions
1.48.3, 1.49.2
Affects versions
Steps to reproduce
- Go to Settings -> Identity Providers and create a new "OpenID Connect" provider
- Scroll down and click on the "discover endpoints" label 4 times as fast as you can.
- You end up with the screen shown in the screenshot.
Expected behavior
You always see either the issuer field or the authorization/token/userinfo endpoint fields, never all or none.
Screenshots
Workaround
Don't click so fast, or refresh the page to correct the UI state.
Platform
Saw this on FF/mac and Chrome/mac against sandbox.fusionauth.io and locally
Community guidelines
All issues filed in this repository must abide by the FusionAuth community guidelines.
Additional context
Workaround is to reload the page, which resets state. This works, but you lose everything you entered.
Interesting. Generally speaking we debounce these clicks to avoid this scenario, so we are either not de-bouncing this request, or you broke our de-bouncer! 😎
Can recreate. Looks like the issue is if you use the field label to toggle, we do not de-bounce that event.
Internal:
- https://github.com/FusionAuth/fusionauth-app/pull/474