在调试spring security的 code flow模式时,掉入了postman的一个设置坑中。 以为postman会返回302, 但是它的默认设置会自动进行跳转,所以在调试该功能时需要进行重新设置。