Step 2x: Setup Linkedin

December 10, 2021 ยท View on GitHub

First you will have to register your application on Linkedin. Check out the documentation for more information: https://docs.microsoft.com/en-us/linkedin/shared/authentication/authentication.

Next configure a resource owner of type linkedin with appropriate client_id, client_secret and scope. Example of values for scope: r_liteprofile, r_emailaddress as described by Linkedin API

# config/packages/hwi_oauth.yaml

hwi_oauth:
    resource_owners:
        any_name:
            type:           linkedin
            client_id:      <client_id>
            client_secret:  <client_secret>
            scope:          <scope>

When you're done. Continue by configuring the security layer or go back to setup more resource owners.