Hello Community,
We are trying to enable SSO on Thingworx with AD FS. When we access Thingworx it throw below error message
[L: ERROR] [O: S.c.t.s.a.AuthenticatorExceptionHandler] [I: ] [U: ???] [S: ] [P: ] [T: https-openssl-nio-443-exec-19] [ The request was rejected because the URL contained a potentially malicious String "%25" ]
[L: ERROR] [O: S.c.t.s.a.AuthenticatorExceptionHandler] [I: ] [U: ???] [S: ] [P: ] [T: https-openssl-nio-443-exec-10] [ Error validating SAML message ][ NameID element must be present as part of the Subject in the Response message, please enable it in the IDP configuration ]
[L: ERROR] [O: S.c.t.s.a.AuthenticatorExceptionHandler] [I: ] [U: ???] [S: ] [P: ] [T: https-openssl-nio-443-exec-7] [ Error validating SAML message ][ NameID element must be present as part of the Subject in the Response message, please enable it in the IDP configuration ]
[L: ERROR] [O: S.c.t.s.a.s.ThingworxSSOAuthenticator] [I: ] [U: ???] [S: ] [P: ] [T: https-openssl-nio-443-exec-16] [ Failed to utilize the SSO component for authentication ][ The request was rejected because the URL contained a potentially malicious String "%25" ]
Could someone help me on this
Thanks
VR
Solved! Go to Solution.
With support of PTC, we managed to fix the issue.
Error Message :
[ The request was rejected because the URL contained a potentially malicious String "%25" ]
In sso-settings.json, file path was mentioned using backslash "\\" changed to frontslash "//"
Example :
Instead of
"C:\\PTC\\idp-metadata.xml"
use
"C://PTC//idp-metadata.xml"
For error message :
[ Error validating SAML message ][ NameID element must be present as part of the Subject in the Response message, please enable it in the IDP configuration ]
Add NameID in SAML response subject. This should be changed in IDP side
For AD FS refer below link
/VR
Hi @Velkumar Remove special characters "%", ";", "\", "/" from file name
Check documentation Windchill Help Center > Windchill Fundamentals > Working with Windchill Objects > Object Overview > Special characters
I went through this article - CS327941 - Error "The request was rejected because the URL contained a potentially malicious String "%25"" reported in MethodServer.log when donwloading a file from Navigate with SSO enabled (ptc.com)
I think it is not applicable for my use case. Here I'm trying to integrate ADFS and Thingworx. While authentication I'm facing this error message
/VR
With support of PTC, we managed to fix the issue.
Error Message :
[ The request was rejected because the URL contained a potentially malicious String "%25" ]
In sso-settings.json, file path was mentioned using backslash "\\" changed to frontslash "//"
Example :
Instead of
"C:\\PTC\\idp-metadata.xml"
use
"C://PTC//idp-metadata.xml"
For error message :
[ Error validating SAML message ][ NameID element must be present as part of the Subject in the Response message, please enable it in the IDP configuration ]
Add NameID in SAML response subject. This should be changed in IDP side
For AD FS refer below link
/VR
Hello Velkumar,
I have a requirement to enable SSO on Thingworx with AD FS. Do you have any resources to implement this feature.