passport-weixin-app
Advanced tools
Comparing version 0.0.8 to 0.0.9
@@ -11,3 +11,3 @@ var OAuth2Strategy = require('passport-oauth2') | ||
options.authorizationURL = options.authorizationURL || 'https://api.weixin.qq.com/sns/jscode2session'; | ||
options.tokenURL = options.authorizationURL; | ||
options.tokenURL = options.tokenURL || options.authorizationURL; | ||
OAuth2Strategy.call(this, options, verify); | ||
@@ -14,0 +14,0 @@ this.name = 'weixin-app'; |
{ | ||
"name": "passport-weixin-app", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"description": "Weixin app authentication strategy for Passport.", | ||
@@ -5,0 +5,0 @@ "main": "./lib", |
4162