/oauth2callback?code=4/SOMECODE.LOL-ISHERE
您好,上面的 url 是从 node.js 中的 googleapis 包生成的 OAUTH 请求发送的。
我尝试了很多路线,但始终不匹配。
app.get('/oauth2callback?code=4/:token', routes.oauth);
app.get('/oauth2callback*/:token', routes.oauth);
app.get('/oauth2callback/:token', routes.oauth);
有什么建议吗?