Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
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
Description
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"
I try to understand all the steps you are following to replicate the error Are these the steps you do?
In which of these steps do you see the error?
timja Any idea what this could be?