Skip to main content

LinkedIn

First, browse to https://www.linkedin.com/developers/apps/new and create an application.

LinkedIn Developers - New Application

Next, note the "Client Secret"

LinkedIn Developers - Auth Screen

After that, add "redirect URLS":

https://localhost:8443/auth/oauth2/linkedin/authorization-code-callback

LinkedIn Developers - Auth Screen - Redirect URLs

Next, browse to "Products" tab and enabled "Sign In with LinkedIn":

LinkedIn Developers - Products Screen

References:

Caddyfile configuration:

		oauth identity provider linkedin {
realm linkedin
driver linkedin
client_id {env.LINKEDIN_APP_CLIENT_ID}
client_secret {env.LINKEDIN_APP_CLIENT_SECRET}
}

authentication portal myportal {

enable identity provider linkedin

}