Skip to content

samgans/LinkedIn-Auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Linkedin Auth

This repository contains the source code for the script which automates the process of requesting LinkedIn access key for your application.

Workflow:

  1. Calling of the script with client id, client secret, redirect url of the application and the list of permissions required.
  2. Going to the url generated by the application and allowing the usage of requested permissions.
  3. Redirection to the redirect url passed to cli.
  4. Copying the "code" request parameter from redirect url and passing it to the script.
  5. If code will match, the script will print the access key for the LinkedIn application.

CLI:

  1. --help get a help message from the script.
  2. -c <value> or --client-id <value> allows to pass a client id of the LinkedIn application (required).
  3. -s <value> or --client-secret <value> allows to pass a client secret of the LinkedIn application (required).
  4. -p <value>... or --permissions <value>... accepts the values of permissions (one or multiple) requested for the application (required).
  5. -r <value> or --redirect-url <value> accepts the redirect url for the application. It must match with those in application configuration (required).

About

Authentication automation for your LinkedIn app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages