How to force an OAuth error with Okta Sign In Widget

I’m using the Okta Sign In Widget and I was testing my custom LoginCallback with a failed challenge. It was failing (as expected) for a while when I had an invalid configuration (useClassicEngine set incorrectly) but now it won’t fail anymore.

Is there an way to force that initial challenge to fail so I can continue testing this failure path? I tried setting all of the fields to invalid values but I’m not able to generate an OAuth error again. Previously I was getting an invalid service provider.

Can you provide some context on your use-case? Are you unit testing the sign-in widget?

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