79462130

Date: 2025-02-23 23:08:17
Score: 2
Natty:
Report link

I already solved the problem, instead of using the manual redirect windows.location.replace(cognitoHostedURI) use the await signInWithRedirect () and it will automatically redirect to cognito hosted UI with required parameters.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: mtzyyyy