这里
https://github.com/cnodejs/egg-cnode/blob/master/app.js#L42
应该这样吧
const githubHandler = async (ctx, { profile, accessToken }) => {
// ...
existUser.githubAccessToken = accessToken;
// ...
}
使用
existUser.githubAccessToken = profile.accessToken;
是错的