|
{ |
|
"clients": [ |
|
{ |
|
"clientId": "https://gitlab.example.com", |
|
"rootUrl": "https://gitlab.example.com", |
|
"enabled": true, |
|
"redirectUris": [ |
|
"https://gitlab.example.com/*" |
|
], |
|
"protocol": "saml", |
|
"attributes": { |
|
"saml.assertion.signature": "false", |
|
"saml.force.post.binding": "true", |
|
"saml.multivalued.roles": "false", |
|
"saml.encrypt": "false", |
|
"saml.server.signature": "true", |
|
"saml.server.signature.keyinfo.ext": "false", |
|
"saml.signature.algorithm": "RSA_SHA256", |
|
"saml_force_name_id_format": "false", |
|
"saml.client.signature": "false", |
|
"saml.authnstatement": "true", |
|
"saml_name_id_format": "username", |
|
"saml.onetimeuse.condition": "false", |
|
"saml_signature_canonicalization_method": "http://www.w3.org/2001/10/xml-exc-c14n#" |
|
}, |
|
"protocolMappers": [ |
|
{ |
|
"name": "email", |
|
"protocol": "saml", |
|
"protocolMapper": "saml-user-property-mapper", |
|
"consentRequired": false, |
|
"config": { |
|
"user.attribute": "email", |
|
"attribute.name": "email" |
|
} |
|
}, |
|
{ |
|
"name": "first_name", |
|
"protocol": "saml", |
|
"protocolMapper": "saml-user-property-mapper", |
|
"consentRequired": false, |
|
"config": { |
|
"user.attribute": "firstName", |
|
"attribute.name": "first_name" |
|
} |
|
}, |
|
{ |
|
"name": "last_name", |
|
"protocol": "saml", |
|
"protocolMapper": "saml-user-property-mapper", |
|
"consentRequired": false, |
|
"config": { |
|
"user.attribute": "lastName", |
|
"attribute.name": "last_name" |
|
} |
|
}, |
|
{ |
|
"name": "username", |
|
"protocol": "saml", |
|
"protocolMapper": "saml-user-property-mapper", |
|
"consentRequired": false, |
|
"config": { |
|
"user.attribute": "username", |
|
"attribute.name": "username" |
|
} |
|
} |
|
] |
|
} |
|
] |
|
} |