Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add docs for Linkedin OpenID Connect #191

Merged
merged 3 commits into from
Nov 23, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion docs/backends/linkedin.rst
Original file line number Diff line number Diff line change
@@ -1,13 +1,23 @@
LinkedIn
========

LinkedIn supports only OAuth2. Migration between each type is fairly
Sign In with LinkedIn only support OpenID Connect since August 1, 2023. The previous
OAuth2 has been deprecated. See `LinkedIn OpenID Connect`_ for more details.

LinkedIn previously supported OAuth2. Migration between each type is fairly
simple since the same Key / Secret pair is used for both authentication types.

LinkedIn OAuth2 setup is similar to any other OAuth2 service. The auth flow is
explained on `LinkedIn Developers`_ docs. First you will need to register an
app att `LinkedIn Developer Network`_.

OpenID Connect
--------------

- Fill the application key and secret in your settings::

SOCIAL_AUTH_LINKEDIN_OPENIDCONNECT_KEY = ''
SOCIAL_AUTH_LINKEDIN_OPENIDCONNECT_SECRET = ''

OAuth2
------
Expand Down Expand Up @@ -56,6 +66,7 @@ App Setup`_ to add a redirect url/callback url. Be sure to set the proper
values, otherwise a ``(400) Client Error: Bad Request`` might be returned by
their service.

.. _Linkedin OpenID Connect: https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin-v2
.. _LinkedIn fields selectors: https://docs.microsoft.com/en-us/linkedin/shared/references/v2/profile/lite-profile
.. _LinkedIn Scopes: https://docs.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin
.. _LinkedIn Developer Network: https://www.linkedin.com/secure/developer
Expand Down