React app deployed on AWS ec2 instance with dockerfile fails with EIP/register authentication

Hi,

I deployed react app that works on localhost on AWS ec2 instance. Created Dockerfile and applicaation is running , I can see the login page. As soon as I click on login callback url to /register fails. Although I created my account succesdduly using that url but can’t login to it now. Anyone experiencing this?

Thanks
Devendra