Overview
During the signup flow, when a user needs to navigate a few screens, the user is redirected to https://auth.{MYDOMAIN}.com/authorize/resume?state={STATE} and the screen shows a blank page.
Applies To
- Signup flow
- React SDK
- loginWithPopup
Solution
When the submission is delayed due to other work, the popup window could time out if the other work takes longer than 60 seconds, which is the popup window’s default timeout.
There is a timeout setting that can be configured. It is possible to pass an extended timeout for the popup window in the config options passed to the loginWithPopup() function. The specific property is “timeoutInSeconds” and can be found in this API reference documentation for the SDK.
Setting this value to something greater than 60 seconds, as per the use case, may alleviate the issue.