"Response doesn't have any valid assertion which would pass subject validation" appears in SecurityLog.log when SSO is enabled in ThingWorx Platform/Windchill Navigate
Applies To
- ThingWorx Platform 8.3 to 10.1
- Windchill Navigate (formerly ThingWorx Navigate) 1.8.0 to 10.1
- PingFederate
Description
- Cannot login to ThingWorx Platform with PingFederate enabled after updating the Signing Certificates
- Changed Certificates and can no longer login to PingFed
- Assertion Encryption is not working correctly as ThingWorx cannot decrypt the assertion
- Enabled Encryption Policy under IDP Configuration > SP Connection and now users cannot login into ThingWorx
- After logging in to Single Sign-on (SSO) for ThingWorx the Web Browser shows the following:
- The system is currently encountering an authentication configuration error.
Close the browser and try to login again. If the problem persists, contact your system administrator.
- The system is currently encountering an authentication configuration error.
- <ThingworxStorage>\logs\SecurityLog.log shows the following error:
- [L: ERROR] [O: S.c.t.s.a.AuthenticatorExceptionHandler] [I: ] [U: ] [S: ] [T: http-nio-8080-exec-9] [ Error validating SAML message ][ Response doesn't have any valid assertion which would pass subject validation ]
[L: WARN] [O: S.c.t.s.ApplicationContext] [I: ] [U: ] [S: ] [T: http-nio-8080-exec-9] ApplicationContext.sessionDestroyed(HttpSessionEvent) failed. [ java.lang.NullPointerException: userName was null ][ userName was null ]
[L: INFO] [O: S.c.t.s.a.AuthenticationFilter] [I: ] [U: ] [S: ] [T: http-nio-8080-exec-9] Authenticator did not provide a username to validate against the Thingworx known users. Authenticator = ThingworxSSOAuthenticator
- [L: ERROR] [O: S.c.t.s.a.AuthenticatorExceptionHandler] [I: ] [U: ] [S: ] [T: http-nio-8080-exec-9] [ Error validating SAML message ][ Response doesn't have any valid assertion which would pass subject validation ]