egg-oauth2-server icon indicating copy to clipboard operation
egg-oauth2-server copied to clipboard

oAuth2Server.authorize()的执行结果,有生成code但后台出错,暴错内容是redirectUri指向的网页的内容。

Open liuliangjia opened this issue 1 year ago • 1 comments

如何控制oAuth2Server.authorize()只返回url,但暂时不进行跳转? image

我想在前端请求完oAuth2Server.authorize(),取得code成功后,手动进行跳转redirectUri。 oAuth2Server.authorize()过程会默认生成完code就在后端调用redirectUri?

liuliangjia avatar May 05 '24 23:05 liuliangjia

8f7320f3641304b3da64e1990779e89 这个地方给它替换掉,不让它redirect就可以?

liuliangjia avatar May 06 '24 02:05 liuliangjia