By Platinumhero
Hi! I’ve deployed my first Node.js app to digitalocean. The problem is, on my Home-Pc the app runs perfectly, while the deployed version doesn’t. I’ve followed multiple tuts and am genuinely stuck. The stuff that doesn’t work : When I authenticate with OAuth (passport) I don’t get redirected back / hang on the redirect to the deployed server. Usually this would be a wrong redirect URI, but it works on my home pc without a problem. I copy & pasted and stared at everything over and over, but the only variable that should change from my home pc to the deployed server is the URI & it doesnt have any issues.
this is the github link https://github.com/Twiggeh/SC2Heroes
It doesn’t make sense at all. Why would a deploy & redirect break it
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
The front end/back end model of building software is common not only in the JavaScript community, but the developer community at large.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.