带OKTA的Spring Boot/PCF/SAML/OKTA::SAML 2.0在本地主机上运行良好,但在PCF路由URL上运行失败

带OKTA的Spring Boot/PCF/SAML/OKTA::SAML 2.0在本地主机上运行良好,但在PCF路由URL上运行失败,spring,spring-security,saml-2.0,okta,pcf,Spring,Spring Security,Saml 2.0,Okta,Pcf,我使用saml sso创建了一个简单的spring boot应用程序,使用okta作为提供程序,并提供以下详细信息: Single Sign On URL: http://localhost:8080/saml/SSO Recipient URL: http://localhost:8080/saml/SSO Destination URL: http://localhost:8080/saml/SSO Audience Restriction: http://loc

我使用saml sso创建了一个简单的spring boot应用程序,使用okta作为提供程序,并提供以下详细信息:

Single Sign On URL:   http://localhost:8080/saml/SSO
Recipient URL:        http://localhost:8080/saml/SSO
Destination URL:      http://localhost:8080/saml/SSO
Audience Restriction: http://localhost:8080/saml/metadata
我已将此应用程序推送到PCF,并更新了以下详细信息:

Single Sign On URL:   https://pcf-saml-auth.cfapps.io/saml/SSO
Recipient URL:        https://pcf-saml-auth.cfapps.io/saml/SSO
Destination URL:      https://pcf-saml-auth.cfapps.io/saml/SSO
Audience Restriction: https://pcf-saml-auth.cfapps.io/saml/metadata
其中,
pcf saml auth.cfapps.io
是我的pcf路由url

部署到pcf后,通过okta成功登录后,它会一次又一次地重定向到登录页面

元数据URL:
https://dev-254714.okta.com/app/exkapmmvkEKcamnci356/sso/saml/metadata

如果有人遇到过类似的问题,请您帮助我如何使其工作,以及我在这里做错了什么

多谢各位