curl -X PUT https://gateway.verify-group.io/api/v1/auth/sso/$ORG_ID/config \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"protocol": "saml",
"enabled": true,
"samlIdpEntityId": "https://sts.windows.net/{tenant-id}/",
"samlIdpSsoUrl": "https://login.microsoftonline.com/{tenant-id}/saml2",
"samlIdpCertificate": "<base64-cert-without-pem-headers>",
"attributeMapping": {
"email": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress",
"name": "http://schemas.microsoft.com/identity/claims/displayname"
},
"enforcedDomains": ["yourcompany.com"],
"jitProvisioningEnabled": true,
"defaultRoles": ["member"]
}'