I’ve followed the react/okta-sign-in widget guide here (verbatim): https://developer.okta.com/code/react/okta_react_sign-in_widget/ and notice that when I click the app’s
Login button, it shows a blank page. However, if I then force reload my browser, the sign-in widget renders as expected. When placing
console.log() in various places, I notice the widget’s constructor doesn’t get called until I force reload the browser. There aren’t any js console errors.
I’ve tried rolling back the version of
signin-widget to 4.0.0, 3.0.0 and 2.9.0, but with no luck.
In case this has to do with my app’s URI settings, here is that info:
To add further color:
I notice that
this.props.authState.isPending seems to remain true unless a forced browser refresh occurs (line 30) within src/Login.js. Therefore, line 31 in that file (i.e. the rendering of the signin-widget) is prevented from executing.
Is there a workaround for this issue?