malikov / authenticate.me-node-server Goto Github PK
View Code? Open in Web Editor NEWNode server for authenticate.me
Node server for authenticate.me
I'm trying to use mongolab instead of parse, but the switch is like pulling teeth. Any suggestions?
clone ur repository and push heroku heroku ps:scale web=1 all done but get error Application Error Here some logs
2015-08-13T13:39:19.723700+00:00 heroku[web.1]: Starting process with command n ode ./bin/www
2015-08-13T13:39:25.578737+00:00 app[web.1]: /app/node_modules/express/lib/route
r/index.js:327
2015-08-13T13:39:25.578757+00:00 app[web.1]: throw new Error(msg);
2015-08-13T13:39:25.578761+00:00 app[web.1]: Error: Router.use() requires callba
ck functions but got a [object Object]
2015-08-13T13:39:25.578759+00:00 app[web.1]: ^
2015-08-13T13:39:25.578762+00:00 app[web.1]: at Function.proto.use (/app/nod
e_modules/express/lib/router/index.js:327:11)
2015-08-13T13:39:25.578763+00:00 app[web.1]: at Function.app.use (/app/node_
modules/express/lib/application.js:195:16)
2015-08-13T13:39:25.578765+00:00 app[web.1]: at Object. (/app/app
.js:67:5)
2015-08-13T13:39:25.578766+00:00 app[web.1]: at Module._compile (module.js:4
60:26)
2015-08-13T13:39:25.578767+00:00 app[web.1]: at Object.Module._extensions..j
s (module.js:478:10)
2015-08-13T13:39:25.578769+00:00 app[web.1]: at Module.load (module.js:355:3
2)
2015-08-13T13:39:25.578770+00:00 app[web.1]: at Function.Module._load (modul
e.js:310:12)
2015-08-13T13:39:25.578771+00:00 app[web.1]: at Module.require (module.js:36
5:17)
2015-08-13T13:39:25.578772+00:00 app[web.1]: at require (module.js:384:17)
2015-08-13T13:39:25.578774+00:00 app[web.1]: at Object. (/app/bin
/www:6:11)
Hi there!
I am setting up this project in OpenShift & I'm getting this error when trying to access with twitter..
Proxy Error
The proxy server received and invalid response from an upstream server.
The proxy server could not handle the request GET /oauth/twitter.Reason: Error reading from remote server
Apache/2.2.15 (Red Hat) Server at project-xxxx.rhcloud.com Port 80
The app is running correctly on the cloud and I've only changed this:
config.js
config.web.baseUrl = 'http://myproject-xxxx.rhcloud.com';
config.twitter.token = process.env.TWITTER_TOKEN || "";
config.twitter.consumerKey = process.env.TWITTER_CLIENT_ID || "asdasd3212312";
config.twitter.consumerSecret = process.env.TWITTER_CLIENT_SECRET || "asdasdasd123123";
config.twitter.callbackURL = config.web.baseUrl+"/oauth/callback?type=twitter";
I'm also setting the baseUrl on the mobile app constants.js.
you have any idea what could it be? is there any special config that i have to set on the twitter app?
Thanks in advance!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.