{"id":809,"url":"https://github.com/serhii-londar/LinkedInSignIn","last_synced_at":"2025-08-06T13:31:54.008Z","repository":{"id":26893019,"uuid":"111031816","full_name":"serhii-londar/LinkedInSignIn","owner":"serhii-londar","description":"Simple view controller to log in and retrieve an access token from LinkedIn.","archived":false,"fork":false,"pushed_at":"2021-11-02T16:15:22.000Z","size":1144,"stargazers_count":36,"open_issues_count":4,"forks_count":12,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-07-25T21:33:17.803Z","etag":null,"topics":["hacktoberfest","ios","linkedin","login","signin","swift","viewcontroller"],"latest_commit_sha":null,"homepage":"","language":"Swift","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/serhii-londar.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}},"created_at":"2017-11-16T22:59:55.000Z","updated_at":"2024-05-27T06:51:33.000Z","dependencies_parsed_at":"2022-08-31T12:11:51.689Z","dependency_job_id":null,"html_url":"https://github.com/serhii-londar/LinkedInSignIn","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serhii-londar%2FLinkedInSignIn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serhii-londar%2FLinkedInSignIn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serhii-londar%2FLinkedInSignIn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serhii-londar%2FLinkedInSignIn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/serhii-londar","download_url":"https://codeload.github.com/serhii-londar/LinkedInSignIn/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":215780271,"owners_count":15929790,"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","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":["hacktoberfest","ios","linkedin","login","signin","swift","viewcontroller"],"created_at":"2024-01-05T20:15:31.825Z","updated_at":"2024-08-17T16:30:23.468Z","avatar_url":"https://github.com/serhii-londar.png","language":"Swift","funding_links":[],"categories":["Authentication","Libs","Authentication [🔝](#readme)","Utilities and Extensions"],"sub_categories":["Authentication","Other free courses","Getting Started"],"readme":"# LinkedInSignIn\n\n[![CI Status](http://img.shields.io/travis/serhii-londar/LinkedInSignIn.svg?style=flat)](https://travis-ci.org/serhii-londar/LinkedInSignIn)\n[![Version](https://img.shields.io/cocoapods/v/LinkedInSignIn.svg?style=flat)](http://cocoapods.org/pods/LinkedInSignIn)\n[![License](https://img.shields.io/cocoapods/l/LinkedInSignIn.svg?style=flat)](http://cocoapods.org/pods/LinkedInSignIn)\n[![Platform](https://img.shields.io/cocoapods/p/LinkedInSignIn.svg?style=flat)](http://cocoapods.org/pods/LinkedInSignIn)\n\n## Example\n\nTo run the example project, clone the repo, and run `pod install` from the Example directory first.\n\nAlso you need to setup app on [LinkedIn](https://www.linkedin.com/developer/apps) and fill in dictionary with your app credetials:\n\n```swift\nlet linkedinCredentilas = [\n    \"linkedInKey\": \"\",\n    \"linkedInSecret\": \"\",\n    \"redirectURL\": \"\"\n]\n\n```\n\nLogin proces is simple as:\n\n```swift\nlet linkedInConfig = LinkedInConfig(linkedInKey: linkedinCredentilas[\"linkedInKey\"]!, linkedInSecret: linkedinCredentilas[\"linkedInSecret\"]!, redirectURL: linkedinCredentilas[\"redirectURL\"]!)\nlet linkedInHelper = LinkedinHelper(linkedInConfig: linkedInConfig)\nlinkedInHelper.login(from: self, completion: { (accessToken) in\n        let alertVC = UIAlertController(title: \"Success\", message: \"Your access token is : \\(accessToken)!\", preferredStyle: .alert)\n        alertVC.addAction(UIAlertAction(title: \"Ok\", style: .default, handler: { _ in\n            alertVC.dismiss(animated: true, completion: nil)\n        }))\n    self.present(alertVC, animated: true, completion: nil)\n}) { error in\n    print(error.localizedDescription)\n}\n```\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://i.imgur.com/R8haoKu.png\" width=\"350\"/\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://i.imgur.com/QzjcjDR.png\" width=\"350\"/\u003e\n\u003c/p\u003e\n\n\n\u003c!--## Requirements\n--\u003e\n\n\n## Installation\n\nLinkedInSignIn is available through [CocoaPods](http://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```ruby\npod 'LinkedInSignIn'\n```\n\n## Author\n\nGithub: [Serhii Londar](https://github.com/serhii-londar)\n\nEmail: [serhii.londar@gmail.com](mailto:serhii.londar@gmail.com)\n\n## License\n\nLinkedInSignIn is available under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fserhii-londar%2FLinkedInSignIn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fserhii-londar%2FLinkedInSignIn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fserhii-londar%2FLinkedInSignIn/lists"}