dex/connector
tan 8613c78863 update LinkedIn connector to use v2 APIs
This updates LinkedIn connector to use the more recent v2 APIs. Necessary because v1 APIs are not able to retrieve email ids any more with the default permissions.

The API URLs are now different. Fetching the email address is now a separate call, made after fetching the profile details. The `r_basicprofile` permission is not needed any more, and `r_liteprofile` (which seems to be the one assigned by default) is sufficient.

The relevant API specifications are at:
- https://docs.microsoft.com/en-us/linkedin/shared/integrations/people/profile-api
- https://docs.microsoft.com/en-us/linkedin/shared/integrations/people/primary-contact-api
- https://docs.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/migration-faq#how-do-i-retrieve-the-members-email-address
2019-06-03 22:59:37 +05:30
..
authproxy Add logger interface and stop relying on Logrus directly 2019-02-22 13:38:57 +01:00
bitbucketcloud Add logger interface and stop relying on Logrus directly 2019-02-22 13:38:57 +01:00
github Add logger interface and stop relying on Logrus directly 2019-02-22 13:38:57 +01:00
gitlab gitlab: add tests 2019-05-02 08:06:56 +02:00
keystone Add logger interface and stop relying on Logrus directly 2019-02-22 13:38:57 +01:00
ldap Remove the logrus logger wrapper 2019-02-22 21:31:46 +01:00
linkedin update LinkedIn connector to use v2 APIs 2019-06-03 22:59:37 +05:30
microsoft Add logger interface and stop relying on Logrus directly 2019-02-22 13:38:57 +01:00
mock Add logger interface and stop relying on Logrus directly 2019-02-22 13:38:57 +01:00
oidc connectors/oidc: truely ignore "email_verified" claim if configured that way 2019-05-28 16:15:06 +02:00
saml Remove the logrus logger wrapper 2019-02-22 21:31:46 +01:00
connector.go fix ssoURL 2019-04-20 21:12:01 +09:00