This guide explains how to set up LinkedIn as an authentication provider with Stack Auth. LinkedIn OAuth2 allows users to sign in to your application using their LinkedIn account.Documentation Index
Fetch the complete documentation index at: https://stackauth-e0affa27-chore-move-mcp-to-a-sep-app.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Integration Steps
Create a LinkedIn OAuth App
- Log in to the LinkedIn Developer Portal.
- Click Create app to create a new application.
- Enter your App name and select a LinkedIn Page to associate with your app (or create a new one).
- Upload an App logo (required for production apps).
- Enter the App description and your Business email.
- Check the Legal agreement box and click Create app.
- On your app’s dashboard, click Auth tab from the left sidebar.
- Under OAuth 2.0 settings, add the following redirect URL:
https://api.stack-auth.com/api/v1/auth/oauth/callback/linkedin - Under Products, request access to Sign In with LinkedIn by clicking Request access. Complete any required information.
- Under OAuth 2.0 scopes, make sure at least the following scopes are selected:
r_emailaddressr_liteprofile
- Once approved, navigate to the Auth tab again to find your Client ID and Client Secret.
Need More Help?
- Check the LinkedIn OAuth2 Documentation
- Join our Discord