I followed the example code as mentioned in the following link and ran it locally (http://localhost:4200), it worked great!
https://developer.okta.com/code/angular/okta_angular_sign-in_widget/
I had no problem the app calling the callback url (http://localhost:4200/login/callback) once authenticated. But, when I deployed this code to AWS S3 after adjusting appropriate URLs, the application stopped working. I see it does a successful authentication, but fails to call the callback URL (alaiahchandra.com/login/callback).
Please checkout the behavior at “alaiahchandra.com”. I have disabled email verification on user registration. Thanks for your help.