Coldfusion 2023 and SAML
I am developing SAML SSO with Azure AD and our Coldfusion application at the moment and in Coldfusion 2021 everything seems to work. The configuration is there and the authentication works as well.
When I try to configure SAML in Coldfusion 2023, errors are thrown in spconfig.cfm
When I generate a new service provider, the configuration is created but this error is thrown:
Variable GENERATESUCCESSMSG is undefined.
The error occurred in spconfig.cfm: line 122
Called from spconfig.cfm: line 100
Called from spconfig.cfm: line 40
Called from spconfig.cfm: line 1
Identical errors (only with other variables) come when deleting / updating a configuration.
Also identity provider creation throws errors.
Did anybody experience this?
We use Coldfusion 2023.0.06.330617
and SAML package 2023.0.05.330608
If I ignore the errors thrown and try to init SAML authentication also an error is thrown (that may be because the configuration is not correct):
java.lang.NullPointerException: Cannot invoke "String.toLowerCase()" because the return value of "coldfusion.runtime.ApplicationScope.getApplicationPath()" is null
body: at coldfusion.saml.SamlHelper.getStructFromAppScope(SamlHelper.java:472)
body: at coldfusion.saml.SamlRequestBuilder.getIdp(SamlRequestBuilder.java:374)
body: at coldfusion.saml.SamlRequestBuilder.initAuthRequest(SamlRequestBuilder.java:149)
body: at coldfusion.saml.SAMLServiceImpl.InitSAMLAuthRequest(SAMLServiceImpl.java:577)
body: at coldfusion.runtime.CFPage.InitSAMLAuthRequest(CFPage.java:17693)
Can anybody help?
