Login issue to hosted frontend developed using fusionauth react sdk
-
Hi,
I developed 2 applications expressjs backed reactjs frontend. I used fusion auth in the self-hosted environment in AWS ec2 instance with nginx. All the flows are working nicely in the localhost environment. But in the live environment, I have an issue.
When I fill the login form and click the sign-in in button it redirect to the My React application and its goes to the unauthenticated path. As my understanding is the issue with the cookies. Seems my authentication cookies are not added to headers or something like that. Since I am using Nginx for both frontend and backend do I need to do any additional configurations for it. I use the same top-level domain for frontend, backend, and fusionauth. I enable SSL as well. So Do I need to add any specific configuration to Nginx or did I do anything wrong?
I attached my react app cookies section after login operation seems this not include any kind of cookies related to authenticating. Seems the server does not pass that information bcusae I check the backend logs so according to it all are working file and get all the tokens to backend logs as well.
-
@renukamirihana Have you been through this page? https://fusionauth.io/docs/operate/deploy/proxy-setup
What message to you receive when the application goes to the unauthenticated path?