Replace default LinkedIn scopes (#1890)

This commit is contained in:
Clément OUDOT 2019-08-22 15:08:45 +02:00
parent e42e71b5e3
commit 47dc4936ac
4 changed files with 4 additions and 4 deletions

View File

@ -128,7 +128,7 @@ sub defaultValues {
'ldapVersion' => 3, 'ldapVersion' => 3,
'linkedInAuthnLevel' => 1, 'linkedInAuthnLevel' => 1,
'linkedInFields' => 'id,first-name,last-name,email-address', 'linkedInFields' => 'id,first-name,last-name,email-address',
'linkedInScope' => 'r_basicprofile r_emailaddress', 'linkedInScope' => 'r_liteprofile r_emailaddress',
'linkedInUserField' => 'emailAddress', 'linkedInUserField' => 'emailAddress',
'localSessionStorage' => 'Cache::FileCache', 'localSessionStorage' => 'Cache::FileCache',
'localSessionStorageOptions' => { 'localSessionStorageOptions' => {

View File

@ -1551,7 +1551,7 @@ m[^(?:ldapi://[^/]*/?|\w[\w\-\.]*(?::\d{1,5})?|ldap(?:s|\+tls)?://\w[\w\-\.]*(?:
'type' => 'text' 'type' => 'text'
}, },
'linkedInScope' => { 'linkedInScope' => {
'default' => 'r_basicprofile r_emailaddress', 'default' => 'r_liteprofile r_emailaddress',
'type' => 'text' 'type' => 'text'
}, },
'linkedInUserField' => { 'linkedInUserField' => {

View File

@ -3156,7 +3156,7 @@ m{^(?:ldapi://[^/]*/?|\w[\w\-\.]*(?::\d{1,5})?|ldap(?:s|\+tls)?://\w[\w\-\.]*(?:
}, },
linkedInUserField => { type => 'text', default => 'emailAddress' }, linkedInUserField => { type => 'text', default => 'emailAddress' },
linkedInScope => linkedInScope =>
{ type => 'text', default => 'r_basicprofile r_emailaddress' }, { type => 'text', default => 'r_liteprofile r_emailaddress' },
# WebID # WebID
webIDAuthnLevel => { webIDAuthnLevel => {

File diff suppressed because one or more lines are too long