Hi,
I integrated Okta SignIn Widget performing Authentication Code Flow.
Recently there is this “There was an unexpected internal error. Please try again.”.
Browser Console does also not help realy: main.js?20201209 1305:97974 controller: primary-auth, error: [object Object]
Interestingly I can see all relevant calls (authn of Okta, callback on my side and redirect after this) in network monitor. Turns out that actually user is sucessful authenticated on backend but due to this error in the widget UI does not recognize and does not perform the last redirect initiated by my callback. A hard reload via F5 will make UI recognize authenticated state.
Unfortunately both handlers (success, error) provided to renderEl()
will not be called making it unhandleable on my side.