Skip to content

Instantly share code, notes, and snippets.

@aveek22
Created March 12, 2022 21:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aveek22/8978355f31b779cc8cd2b6d844bf9d34 to your computer and use it in GitHub Desktop.
Save aveek22/8978355f31b779cc8cd2b6d844bf9d34 to your computer and use it in GitHub Desktop.
base_url = "https://www.linkedin.com/oauth/v2/authorization"
redirect_uri = "https://thedatascholar.com/auth/linkedin/callback"
scope = "w_member_social,r_liteprofile"
url = f"{base_url}?response_type=code&client_id={client_id}&state=random&redirect_uri={redirect_uri}&scope={scope}"
print(url)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment