egg-oauth2-server
egg-oauth2-server copied to clipboard
oAuth2Server.authorize()的执行结果,有生成code但后台出错,暴错内容是redirectUri指向的网页的内容。
如何控制oAuth2Server.authorize()只返回url,但暂时不进行跳转?
我想在前端请求完oAuth2Server.authorize(),取得code成功后,手动进行跳转redirectUri。 oAuth2Server.authorize()过程会默认生成完code就在后端调用redirectUri?
这个地方给它替换掉,不让它redirect就可以?