You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on this project https://github.com/JKHeadley/appy.git for which I have used nginx to redirect requests from port 80 to port 443. Nginx redirects requests to the location of the frontend web-app on port 3000.
The webapp redirect requests to backend-api on port 8080.
Now on the front-end web-app when I click on one of the social media links, for example Facebook. The request is going to Facebook with my Facebook creds from my Appy server. But when the request is redirected back to the Appy server from Facebook the request is coming on port 8080:
Facebook link redirect not working properly.
I'm working on this project https://github.com/JKHeadley/appy.git for which I have used nginx to redirect requests from port 80 to port 443. Nginx redirects requests to the location of the frontend web-app on port 3000.
The webapp redirect requests to backend-api on port 8080.
Now on the front-end web-app when I click on one of the social media links, for example Facebook. The request is going to Facebook with my Facebook creds from my Appy server. But when the request is redirected back to the Appy server from Facebook the request is coming on port 8080:
http://example.com:8080/auth/face-book&state=ZXn29Y7PsAX17Fso7cfHQ1&scope=email
Facebook throws the following error:
Facebook has detected that Appy-World isn't using a secure connection to transfer information.
To check above scenario u can visit this url http://myappy.cf
above site works on ssl.
I have raised this issue on server-fault as a process of elimination, i guess. Please check this link : https://serverfault.com/questions/1021677/how-to-redirect-a-request-from-http-to-https-using-nginx
One of them has suggested that the issue is with the code in this repo with handling of https scheme for generating correct urls.
So could you guys kindly look into this issue and help us resolving it.
Quick response will be appreciated
Thanks
The text was updated successfully, but these errors were encountered: