-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Jenkins version: 2.303.2
Plugin versions: saml:2.0.8, configuration-as-code:1.54
OS: Ubuntu 20.04.3 LTS
-
-
saml-2.1.0
After configuring SAML settings and saving changes to my jcasc yaml file, the settings are wiped out and the following error is displayed when viewing the casc config via the GUI:
samlCustomProperty: attributes: |- FAILED TO EXPORT org.jenkinsci.plugins.saml.user.SamlCustomProperty#attributes: No configurator found for type class org.jenkinsci.plugins.saml.user.SamlCustomProperty$Attribute
config file for SAML in casc yaml looks like this:
securityRealm: saml: binding: "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" displayNameAttributeName: "displayName" emailAttributeName: "Email" groupsAttributeName: "group" idpMetadataConfiguration: period: 0 url: "https://xxxxxxxxx.okta.com/app/xxxxxxxxxxxxx/sso/saml/metadata" logoutUrl: "https://xxxxxxxxxx.okta.com" maximumAuthenticationLifetime: 31536000 usernameCaseConversion: "none"