我有一个路由,这意味着使用google oauth passport策略对用户进行身份验证,(/auth/google)我还想将额外的数据作为查询传递到该路由(/auth/google?someParam=SOME_PARAM)中的url中,当我在(/auth/google/callback)中从谷歌获取这些数据时,我想将这些数据添加到req.user中。问题是,我可以通过/auth/google访问这个查询,但谷歌会将我重定向到/auth/google/callback,它不再能够访问这些数据。passport-谷歌// au
at Strategy.OAuth2Strategy.parseErrorResponse (c:\Projects\Internship_rideshare\node_modules\passport-google-oauth_createOAuthError (c:\Projects\Internship_rideshare\node_modules\passport-google-oauth\node_modules\passport-oauthnode_modules\passport-oauth2\lib\strategy.js:345:16)
} });
500未能在D:\Chandrasekhar\NodeJs_Workspace\SkillsetMgmtNode\node_modules\passport-google-oauthpassport-oauth\strategies\oauth2.js:125:38 at D:\Chandrasekhar\NodeJs_Workspace\SkillsetMgmtNode\node_modules\passport-google-oauth(D:\Chandrasekhar\NodeJs_Workspa