Here is the list of options for creating SAML connection in the Management API. I was able to create the connection successfully.
{
"options": {
"cert": "-----BEGIN CERTIFICATE——your-certificate——END CERTIFICATE-----\n",
"debug": true,
"expires": "2031-09-09T19:24:22.000Z",
"subject": {
"commonName": "dev-39112510",
"countryName": "US",
"emailAddress": "info@okta.com",
"localityName": "San Francisco",
"organizationName": "Okta",
"stateOrProvinceName": "California",
"organizationalUnitName": "SSOProvider"
},
"metadataUrl": “you-metadata-url”,
"signingCert": "",
"thumbprints": [
"662cca7f382a143c71630ebb309ab0adea4eba16"
],
"bindingMethod": "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect",
"disableSignout": false,
"signInEndpoint": "you-signin-endpoint”,
"digestAlgorithm": "sha1",
"protocolBinding": "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect",
"signOutEndpoint": null,
"signSAMLRequest": false,
"user_id_attribute": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier”,
"signatureAlgorithm": "rsa-sha256"
},
"strategy": "samlp",
"name": "okta-test2",
"is_domain_connection": false,
"show_as_button": false,
"enabled_clients": []
}
Please let us know how it goes. Thanks!