# LinkedIn

To allow users to sign up and log in using their LinkedIn accounts, set `ALLOW_LINKED_IN_LOGIN` to `True`. To configure LinkedIn login:

1. Visit [LinkedIn Developers](https://www.linkedin.com/developers/apps/) while logged into your LinkedIn account and click on **Create app**.
2. Fill in the required details. The **Callback URL** should be set to `https://YOUR_DOMAIN_HERE.COM/swd/accounts/oidc/linkedin/login/callback/`.
3. Once the app is created, LinkedIn will provide a **Client ID** and **Client Secret**.
4. Enter these credentials into the `LINKED_IN_CLIENT_ID` and `LINKED_IN_CLIENT_SECRET` variables in your `CONFIG/authentication.py` config file.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.shipwithdjango.com/authentication/linkedin.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
