Sign In with LinkedIn V2 OpenID Connect strategy.
You'll need the Sign In with LinkedIn v2 product enabled in your app. See
the LinkedIn integration
guide
for more.
Usage
config = [
client_id: "REPLACE_WITH_CLIENT_ID",
client_secret: "REPLACE_WITH_CLIENT_SECRET",
redirect_uri: "http://localhost:4000/auth/callback"
]See Assent.Strategy.OIDC for more.
Summary
Functions
Generates an OpenID Connect authorization URL.
Handles an OpenID Connect callback.
Fetches user data from an ID Token or the UserInfo endpoint.
Returns user claims without provider-specific normalization.
Functions
@spec authorize_url(Keyword.t()) :: Assent.Strategy.OIDC.on_authorize_url()
Generates an OpenID Connect authorization URL.
@spec callback(Keyword.t(), map()) :: Assent.Strategy.OIDC.on_callback()
Handles an OpenID Connect callback.
Fetches user data from an ID Token or the UserInfo endpoint.
Returns user claims without provider-specific normalization.