To resolve the issue detailed in Redirect Issue: Successfully Logging in with Okta but Redirected to Okta Dev Dashboard Instead of redirectUri, I made changes to the link of the ‘Sign with Google’ button in the Customized Help Links section, to be https://{oktaDomain}/sso/idps/{googleIdpId}?fromURI="+encodeURI(redirectUrl);. This allowed me to successfully redirect back to my specified redirectUri after logging in with a Google account.
However, I observed that oktaAuth.isLoginRedirect() returns false after the redirect back, and it becomes true only when I call oktaAuth.signInWithRedirect() again.
How can I address this? Is there a way to set oktaAuth.isLoginRedirect() to true immediately upon redirecting back to the redirectUri?
