无法验证
我正在为Oauth尝试npm passport-500px 我在请求Oauth路线后得到了这个。
无法使用passport-500px-oauth策略进行身份验证
InternalOAuthError: Failed to obtain request token
at Strategy.OAuthStrategy._createOAuthError (C:\Users\Sumant Bagade\Desktop\Facebook OAuth\node_modules\passport-500px\node_modules\passport-oauth\node_modules\passport-oauth1\lib\strategy.js:396:17)
at C:\Users\Sumant Bagade\Desktop\Facebook OAuth\node_modules\passport-500px\node_modules\passport-oauth\node_modules\passport-oauth1\lib\strategy.js:244:41
at C:\Users\Sumant Bagade\Desktop\Facebook OAuth\node_modules\passport-500px\node_modules\passport-oauth\node_modules\passport-oauth1\node_modules\oauth\lib\oauth.js:543:17
at ClientRequest.<anonymous> (C:\Users\Sumant Bagade\Desktop\Facebook OAuth\node_modules\passport-500px\node_modules\passport-oauth\node_modules\passport-oauth1\node_modules\oauth\lib\oauth.js:421:9)
at emitOne (events.js:77:13)
at ClientRequest.emit (events.js:169:7)
at TLSSocket.socketErrorListener (_http_client.js:256:9)
at emitOne (events.js:77:13)
at TLSSocket.emit (events.js:169:7)
at connectErrorNT (net.js:996:8)
我试过了 -
localhost to 127.0.0.1
删除{secure:true in middleware}
在应用设置中设置回调网址
不知道这里有什么不对。