技术文章 - CS389337

在 Windchill PDMLink 中配置 OAuth 委派授权后,无法登录 Windchill SSO,并出现错误“HTTP 状态 404 – 未找到”

已修改: 05-May-2025   


注意:本文已使用机器翻译软件翻译,以方便非英语客户阅读。但翻译内容可能包含语法错误或不准确之处。请注意, PTC对本文所含信息的翻译准确性及使用后果不承担任何责任。请在 此处 查看本文的英文原始版本以便参考。有关机器翻译的更多详情,请单击 此处
感谢您告诉我们。我们将尽快审阅此译文。

适用于

  • Windchill PDMLink 12.0.2.4 to 13.1

说明

  • 配置 OAuth 委托授权后,无法登录 Windchill SSO,错误为“HTTP 状态 404 – 未找到”
  • 在方法服务器日志中观察到以下错误:
ERROR [localhost-startStop-1] org.springframework.web.context.ContextLoader  - Context initialization failed org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'jwtTokenServices' defined in ServletContext resource [/WEB-INF/security/config/securityContext.xml]: Could not resolve placeholder 'wt.jwt.oauth2.token.jwtIdpType' in value "${wt.jwt.oauth2.token.jwtIdpType}"; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'wt.jwt.oauth2.token.jwtIdpType' in value "${wt.jwt.oauth2.token.jwtIdpType}"
	at org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:230)
	at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.processProperties(PropertyPlaceholderConfigurer.java:211)
	at org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:86)
这是文章 389337 的 PDF 版本,可能已过期。最新版本 CS389337