AndyShang/passport-weibo

Outdated OAuth path

Closed this issue · 3 comments

Authentication and Token URLs are not valid anymore.
Please change them in your strategy to those:

options.authorizationURL = options.authorizationURL || 'https://api.weibo.com/oauth2/authorize';
options.tokenURL = options.tokenURL || 'https://api.weibo.com/oauth2/access_token';

Hi Maksims,

The source code is actually up-to-date. The npm package however is not updated somehow. I assume you installed from npm?
So you can just clone it from github. Or you can check out my folk which adds support to get user email. (you need to request email scope first). https://github.com/xiaohwan/passport-weibo

Yep, did installed using npm. How that can be fixed?
Thanks for link, I will definitely check as I do need email :)

I'm not super familiar with npm but I don't think people other than the owner can update package on npm repo. And that's why I created another package.
It appears to me this project is not actively maintained now. So either use mine if it's good for you need, or make changes in your folk...