You are viewing Skygear v1 Documentation.Switch to Skygear v0 Documentation

User login with LinkedIn

This article teaches you how to setup LinkedIn login in your application.

Setup LinkedIn application

  1. Create your LinkedIn application in LinkedIn developer portal.

    LinkedIn create application

  2. Complete create application form.

  3. In LinkedIn application settings > authentications, add following URL to Authorized redirect URLs. Replace ${APP_NAME} with your app name. Save your Client ID and Client Secret.

    https://${APP_NAME}.skygeario.com/sso/linkedin/auth_handler
    

    LinkedIn authorized redirect urls

  4. Go to Skygear portal, User Auth > Social Login. Enable LinkedIn in social connections and input your Client ID and Client Secret.

    LinkedIn Skygear Portal

  5. Optional: Select the default permissions from Skygear portal, it will be used when user login with Skygear SDK. You can still overwrite it by providing another set of scope in the SDK call.

Login with LinkedIn through Skygear SDK