{"id":21462575,"url":"https://github.com/codifytools/meteor-accounts-linkedin","last_synced_at":"2025-10-04T20:03:41.135Z","repository":{"id":261814666,"uuid":"436393502","full_name":"codifytools/meteor-accounts-linkedin","owner":"codifytools","description":null,"archived":false,"fork":false,"pushed_at":"2024-07-01T16:35:40.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-12T20:13:31.612Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codifytools.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-12-08T21:13:29.000Z","updated_at":"2022-01-09T23:50:42.000Z","dependencies_parsed_at":"2024-11-10T17:15:27.707Z","dependency_job_id":null,"html_url":"https://github.com/codifytools/meteor-accounts-linkedin","commit_stats":null,"previous_names":["codifytools/meteor-accounts-linkedin"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/codifytools/meteor-accounts-linkedin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codifytools%2Fmeteor-accounts-linkedin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codifytools%2Fmeteor-accounts-linkedin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codifytools%2Fmeteor-accounts-linkedin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codifytools%2Fmeteor-accounts-linkedin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codifytools","download_url":"https://codeload.github.com/codifytools/meteor-accounts-linkedin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codifytools%2Fmeteor-accounts-linkedin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278366664,"owners_count":25975095,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-23T07:14:52.574Z","updated_at":"2025-10-04T20:03:41.114Z","avatar_url":"https://github.com/codifytools.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"This package is based on the work of https://github.com/PoBuchi/meteor-accounts-linkedin. Since the `pauli:accounts-linkedin` package has not been updated for a couple of years (and doesn't work with Meteor 2.3+), I decided to start maintaining it.\n\nThis package requires at least meteor 2.3, if you have an older version of meteor in your project, I recommend you to use `pauli:accounts-linkedin`.\n\n## Installation\n```\nmeteor add codifytools:accounts-linkedin\n```\n\n## Setup\nOn the server-side you must setup the clientId and secret of your Linkedin Application by using the following code:\n\n```js\nimport { ServiceConfiguration } from \"meteor/service-configuration\";\n\nServiceConfiguration.configurations.upsert({ service: 'linkedin' }, { $set: {\n  clientId: 'client_id_here',\n  secret: 'secret_here',\n  loginStyle: 'popup'\n} });\n```\n\nOn the client-side, you should use the following structure in order to execute the new Linkedin authentication (example with React):\n```js\nimport React from 'react';\n\nexport function Authentication() {\n  const handleAuthenticate = () =\u003e {\n    Meteor.loginWithLinkedin({ requestPermissions: [\"r_liteprofile\",\"r_emailaddress\"] }, (error) =\u003e {\n      if (error) { console.log(error); }\n    });\n  };\n\n  return \u003cbutton type=\"button\" onClick={handleAuthenticate}\u003eSign in With Linkedin\u003c/button\u003e;\n};\n```\n\nTo configure the user's collection, you should use the following code on the server-side:\n\n```js\nimport { Accounts } from \"meteor/accounts-base\";\n\nAccounts.onCreateUser((options, user) =\u003e {\n  if (!user.services.linkedin) return user;\n  user.emails = [{ address: user.services.linkedin.email, verified: true }]\n  return user;\n});\n\n```\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodifytools%2Fmeteor-accounts-linkedin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodifytools%2Fmeteor-accounts-linkedin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodifytools%2Fmeteor-accounts-linkedin/lists"}