We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在config配置了callbackURL,实际未生效,
复现步骤:
git clone https://github.com/eggjs/examples.git
exports.passportYuque = { key: '$yours', secret: '$yours', callbackURL: "自定义回调地址", authorizationURL: "yuqueHost/oauth2/authorize", tokenURL: "$yuqueHost/oauth2/token", apiURL: "yuqueHost/api/v2", };
----- update ------
egg-passport
mount
也就是使用方法需为
app.passport.mount('yuque', { callbackURL: "$你的回调地址", });
The text was updated successfully, but these errors were encountered:
No branches or pull requests
在config配置了callbackURL,实际未生效,
复现步骤:
git clone https://github.com/eggjs/examples.git
----- update ------
egg-passport
的mount
方法,引用的是options,https://github.com/eggjs/egg-passport/blob/master/lib/passport.js#L58也就是使用方法需为
The text was updated successfully, but these errors were encountered: