Skip to content

Commit

Permalink
Merge pull request #111 from brightbot/master
Browse files Browse the repository at this point in the history
Invalid redirect_uri in token request
  • Loading branch information
mansilladev committed Dec 5, 2013
2 parents bb88332 + 8b302c8 commit b10e75a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.js
Expand Up @@ -235,7 +235,7 @@ function oauth2(req, res, next){

db.set(key + ':apiKey', apiKey, redis.print);
db.set(key + ':apiSecret', apiSecret, redis.print);
db.set(key + ':baseURL', req.headers.referer, redis.print);
db.set(key + ':baseURL', callbackURL, redis.print);

// Set expiration to same as session
db.expire(key + ':apiKey', 1209600000);
Expand Down

0 comments on commit b10e75a

Please sign in to comment.