Skip to content

Commit

Permalink
Updated the URL to reflect that we don't have a URL yet.
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Lochrie committed Nov 26, 2012
1 parent f2cde6b commit 1736ad3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/passport-signature/strategy.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ var util = require('util')
*/
function Strategy(options, verify) {
options = options || {};
options.authorizationURL = options.authorizationURL || 'http://localhost:10011/dialog/authorize';
options.tokenURL = options.tokenURL || 'http://localhost:10011/oauth/token';
options.authorizationURL = options.authorizationURL || 'http://some-url-tbd.com/dialog/authorize';
options.tokenURL = options.tokenURL || 'http://some-url-tbd.com/oauth/token';
options.scopeSeparator = options.scopeSeparator || ',';

OAuth2Strategy.call(this, options, verify);
Expand Down Expand Up @@ -76,7 +76,7 @@ Strategy.prototype.authorizationParams = function (options) {
* @api protected
*/
Strategy.prototype.userProfile = function(accessToken, done) {
this._oauth2.getProtectedResource('http://localhost:10011/api/userinfo', accessToken, function (err, body, res) {
this._oauth2.getProtectedResource('http://some-url-tbd.com/api/userinfo', accessToken, function (err, body, res) {
if (err) { return done(new InternalOAuthError('failed to fetch user profile', err)); }

try {
Expand Down

0 comments on commit 1736ad3

Please sign in to comment.