In this guide you will learn how to add a login with LinkedIn to your application.
/thirdparty/callback
endpoint. You can always view your redirect URL in the Hanko Cloud Console:
Organization
.Project
.Settings
, then select Identity providers
.Redirect URL
input.Create app
button.App name
.LinkedIn Page
or create one.Privacy policy URL
.Create app
button.Sign In with LinkedIn using OpenID Connect
card from the product list.Request access
.Request access
Button.Auth
and scroll to OAuth 2.0 settings
pencil
next to Authorized redirect URLs for your app
+ Add redirect URL
Redirect URL
you obtained in the first step as the value.Update
button.Auth
tab on your app page.
You will need this when configuring your credentials with Hanko
Settings
and select Identity providers
.hanko-elements
web components, this URL should be the URL of the
page that embeds the web component such that errors can be processed properly by the web component.
hanko-elements
web components, this URL should be
the URL of the page that embeds the web component.
https://*.example.com
matches https://foo.example.com
and https://bar.example.com
.https://foo.example.com/*
matches URLs like https://foo.example.com/page1
and https://foo.example.com/page2
.Providers
section, select LinkedIn
and use the Enable provider
toggle to enable the provider.Client ID
and Client Secret
you obtained in one of the previous section
in the remaining inputs.Save
.@teamhanko/hanko-elements
package or building a custom UI using
the @teamhanko/hanko-frontend-sdk
.
<hanko-auth>
component from our @teamhanko/hanko-elements
package in your frontend application .
On successful integration, the component will display a button for signing in with LinkedIn
in the login view
of the component.error redirect URL
as well as an
allowed redirect URL
(see the previous step).