我有一个具有SSO集成的angular 6应用程序。
JWT令牌累加逻辑可以将应用程序重定向到SSO登录页面。当应用程序点击我的令牌API并获得如下响应时,我面临着应用程序的行为。
<HTML><HEAD><TITLE></TITLE></HEAD><BODY onLoad="document.AUTOSUBMIT.submit();">This page is used to hold your data while you are being authorized for your request.<BR><BR>You will be forwarded to continue the authorization process. If this does not happen automatically, please click the Continue button below.<FORM NAME="AUTOSUBMIT" METHOD="POST" ENCTYPE="application/x-www-form-urlencoded" ACTION="Some URL"<INPUT TYPE="SUBMIT" VALUE="Continue"></FORM></BODY></HTML>
应该重定向到登录URL,但我的应用程序在解析时会中断,这没什么问题,但确实得到了这些东西,因为我的API在任何情况下都不会返回此响应。