Commit 374cac78 authored by Clément OUDOT's avatar Clément OUDOT

Remove linkedInFields parameter (#1890)

parent 61200a67
Pipeline #6377 passed with stages
in 20 minutes and 58 seconds
......@@ -129,11 +129,10 @@ sub defaultValues {
'ldapUsePasswordResetAttribute' => 1,
'ldapVersion' => 3,
'linkedInAuthnLevel' => 1,
'linkedInFields' => 'id,first-name,last-name,email-address',
'linkedInScope' => 'r_liteprofile r_emailaddress',
'linkedInUserField' => 'emailAddress',
'localSessionStorage' => 'Cache::FileCache',
'localSessionStorageOptions' => {
'linkedInScope' => 'r_liteprofile r_emailaddress',
'linkedInUserField' => 'emailAddress',
'localSessionStorage' => 'Cache::FileCache',
'localSessionStorageOptions' => {
'cache_depth' => 3,
'cache_root' => '/tmp',
'default_expires_in' => 600,
......
......@@ -45,7 +45,7 @@ our $authParameters = {
gpgParams => [qw(gpgAuthnLevel gpgDb)],
kerberosParams => [qw(krbAuthnLevel krbKeytab krbByJs krbRemoveDomain)],
ldapParams => [qw(ldapAuthnLevel ldapExportedVars ldapServer ldapPort ldapBase managerDn managerPassword ldapTimeout ldapVersion ldapRaw LDAPFilter AuthLDAPFilter mailLDAPFilter ldapSearchDeref ldapGroupBase ldapGroupObjectClass ldapGroupAttributeName ldapGroupAttributeNameUser ldapGroupAttributeNameSearch ldapGroupDecodeSearchedValue ldapGroupRecursive ldapGroupAttributeNameGroup ldapPpolicyControl ldapSetPassword ldapChangePasswordAsUser ldapPwdEnc ldapUsePasswordResetAttribute ldapPasswordResetAttribute ldapPasswordResetAttributeValue ldapAllowResetExpiredPassword)],
linkedinParams => [qw(linkedInAuthnLevel linkedInClientID linkedInClientSecret linkedInFields linkedInUserField linkedInScope)],
linkedinParams => [qw(linkedInAuthnLevel linkedInClientID linkedInClientSecret linkedInUserField linkedInScope)],
nullParams => [qw(nullAuthnLevel)],
oidcParams => [qw(oidcAuthnLevel oidcRPCallbackGetParam oidcRPStateTimeout)],
openidParams => [qw(openIdAuthnLevel openIdExportedVars openIdSecret openIdIDPList)],
......
......@@ -1561,10 +1561,6 @@ m[^(?:ldapi://[^/]*/?|\w[\w\-\.]*(?::\d{1,5})?|ldap(?:s|\+tls)?://\w[\w\-\.]*(?:
'linkedInClientSecret' => {
'type' => 'password'
},
'linkedInFields' => {
'default' => 'id,first-name,last-name,email-address',
'type' => 'text'
},
'linkedInScope' => {
'default' => 'r_liteprofile r_emailaddress',
'type' => 'text'
......
......@@ -3172,11 +3172,7 @@ m{^(?:ldapi://[^/]*/?|\w[\w\-\.]*(?::\d{1,5})?|ldap(?:s|\+tls)?://\w[\w\-\.]*(?:
},
linkedInClientID => { type => 'text', },
linkedInClientSecret => { type => 'password', },
linkedInFields => {
type => 'text',
default => 'id,first-name,last-name,email-address'
},
linkedInUserField => { type => 'text', default => 'emailAddress' },
linkedInUserField => { type => 'text', default => 'emailAddress' },
linkedInScope =>
{ type => 'text', default => 'r_liteprofile r_emailaddress' },
......
......@@ -297,8 +297,8 @@ sub tree {
form => 'simpleInputContainer',
nodes => [
'linkedInAuthnLevel', 'linkedInClientID',
'linkedInClientSecret', 'linkedInFields',
'linkedInUserField', 'linkedInScope'
'linkedInClientSecret', 'linkedInUserField',
'linkedInScope'
]
},
{
......
......@@ -402,7 +402,6 @@
"linkedInAuthnLevel":"مستوى إثبات الهوية",
"linkedInClientID":"معرف العميل",
"linkedInClientSecret":"سرالعميل",
"linkedInFields":"Searched fields",
"linkedinParams":"معاييرLinkedIn",
"linkedInScope":"نطاق",
"linkedInUserField":"Field containing user identifier",
......
......@@ -401,7 +401,6 @@
"linkedInAuthnLevel":"Authentication level",
"linkedInClientID":"Client ID",
"linkedInClientSecret":"Client secret",
"linkedInFields":"Searched fields",
"linkedinParams":"LinkedIn Parameters",
"linkedInScope":"Scope",
"linkedInUserField":"Field containing user identifier",
......
......@@ -401,7 +401,6 @@
"linkedInAuthnLevel":"Authentication level",
"linkedInClientID":"Client ID",
"linkedInClientSecret":"Client secret",
"linkedInFields":"Searched fields",
"linkedinParams":"LinkedIn Parameters",
"linkedInScope":"Scope",
"linkedInUserField":"Field containing user identifier",
......
......@@ -401,7 +401,6 @@
"linkedInAuthnLevel":"Niveau d'authentification",
"linkedInClientID":"Identifiant",
"linkedInClientSecret":"Mot de passe",
"linkedInFields":"Champs recherchés",
"linkedinParams":"Paramètres LinkedIn",
"linkedInScope":"Scope",
"linkedInUserField":"Champ contenant l'identifiant de l'utilisateur",
......
......@@ -401,7 +401,6 @@
"linkedInAuthnLevel":"Livello di autenticazione",
"linkedInClientID":"Client ID",
"linkedInClientSecret":"Client segreto",
"linkedInFields":"Campi ricercati",
"linkedinParams":"Parametri LinkedIn",
"linkedInScope":"Scopo",
"linkedInUserField":"Campo contenente l'identificatore dell'utente",
......
......@@ -401,7 +401,6 @@
"linkedInAuthnLevel":"Mức xác thực",
"linkedInClientID":"Client ID",
"linkedInClientSecret":"Trình khách bí mật",
"linkedInFields":"Searched fields",
"linkedinParams":"LinkedIn Parameters",
"linkedInScope":"Phạm vi",
"linkedInUserField":"Field containing user identifier",
......
......@@ -401,7 +401,6 @@
"linkedInAuthnLevel":"认证等级",
"linkedInClientID":"Client ID",
"linkedInClientSecret":"Client secret",
"linkedInFields":"Searched fields",
"linkedinParams":"LinkedIn Parameters",
"linkedInScope":"Scope",
"linkedInUserField":"Field containing user identifier",
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -1269,11 +1269,6 @@
"title" : "linkedInClientSecret",
"type" : "password"
},
{
"default" : "id,first-name,last-name,email-address",
"id" : "linkedInFields",
"title" : "linkedInFields"
},
{
"default" : "emailAddress",
"id" : "linkedInUserField",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment