Skip to content
Merged
Show file tree
Hide file tree
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
Binary file modified src/assets/images/cloudflare-one/identity/linkedin/lin5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -5,65 +5,55 @@ title: LinkedIn

Cloudflare Access allows your users to use LinkedIn as their identity provider (IdP).

## Set up LinkedIn as an IdP
## Prerequisites

Sign in to your LinkedIn account before continuing. Configuring LinkedIn as a Cloudflare Access IdP requires a LinkedIn account.

Configuring LinkedIn as a Cloudflare Access IdP requires a LinkedIn account.
## Set up LinkedIn as an IdP

To configure LinkedIn as an IdP:

1. Go to [the LinkedIn Developer Portal](https://www.linkedin.com/developers).
1. Go to the [LinkedIn Developer Portal](https://www.linkedin.com/developers).

2. Select **Create App**.

3. Sign in to your LinkedIn account. The **Create an app** screen displays.

4. Enter an **App name** for your application.

5. Enter the URL for your business page.

6. Select **Upload a logo** and go to your company logo image file.

7. Select **OK**.

8. (optional) Select the **Share on LinkedIn** option to announce that your clients can use LinkedIn to access your app.

9. Select the **Sign In with LinkedIn** option.
3. On the **Create an app** page, enter an **App name** for your application.

10. Select the **API Terms of Use** link to read the terms of use.
4. Select a **LinkedIn Page** for your application or select **Create a new LinkedIn page** if you do not have a LinkedIn page.

11. If you agree to the terms, check the **I have read and agree to these terms** option.
5. Select **Upload a logo** and upload your company logo image file.

12. Select **Create app**.
6. Select **API Terms of Use** to read the terms of use, and agree to the terms.

13. Go to your account Settings page.
7. Select **Create app**.

14. Select the **Auth** tab.
8. In the **Products** tab of your LinkedIn application, select **Request Access** next to the **Sign In with LinkedIn using OpenID Connect** option.

15. Copy the **Client ID** and **Client Secret**.
9. In the **Auth** tab of your LinkedIn application, find the **Client ID** and **Client Secret**.

![LinkedIn account settings where you will copy the Client ID and Client Secret](~/assets/images/cloudflare-one/identity/linkedin/lin5.png)
![LinkedIn account settings where you will copy the Client ID and Client Secret](~/assets/images/cloudflare-one/identity/linkedin/lin5.png)

16. In Zero Trust, go to **Settings** > **Authentication**.
10. In [Zero Trust](https://one.dash.cloudflare.com/), go to **Settings** > **Authentication**.

17. Under **Login methods**, select **Add new**.
11. Under **Login methods**, select **Add new**.

18. Select **LinkedIn** as your IdP.
12. Select **LinkedIn** as your IdP.

19. In the **App ID** and **Client secret** fields, input the **Client ID** and **Client secret** values you've copied from the Application credentials tab in the LinkedIn Developer Portal.
13. In the **App ID** field, copy and paste the **Client ID** from step 9. In the **Client secret** field, copy and paste the **Client secret** from step 9.

20. Select **Save**.
14. Select **Save**.

21. In the **LinkedIn** **Auth** tab, scroll to **OAuth 2.0 settings** and select the pencil icon to edit the settings.
15. In the **Auth** tab of your LinkedIn application, go to **OAuth 2.0 settings** and select the pencil icon next to **Authorized redirect URLs for your app**.

22. Enter the following URL:
16. Enter the following URL:

```txt
https://<your-team-name>.cloudflareaccess.com/cdn-cgi/access/callback
```

You can find your team name in Zero Trust under **Settings** > **Custom Pages**.
You can find your team name by going to [Zero Trust](https://one.dash.cloudflare.com/) > **Settings** > **Custom Pages**.

To test that your connection is working, in Zero Trust, go to **Authentication** > **Login methods** and select **Test** next to LinkedIn.
To test that your connection is working, go to [Zero Trust](https://one.dash.cloudflare.com/) > **Settings** > **Authentication** > **Login methods** > select **Test** next to your LinkedIn login method.

## Example API configuration

Expand Down