ahmetkgunay / linkedinioshelper Goto Github PK
View Code? Open in Web Editor NEWLinkedIn iOS Fetch Member Information Library
License: MIT License
LinkedIn iOS Fetch Member Information Library
License: MIT License
Hi,
The redirection url after successful authorization of LinkedIn user consists of fragment identifier "#".
For eg I have logged in to Li and the final re-direction url is of form
The SDK is failing to check the state in the service manager and the state in the url.
Received state in service manager in "xxx" but from url is "xxx#!" and fails while verifying it.
We must not consider the fragment identifier in the parameters. This is causing the error in login in SDK even if the user is logged in successfully in the webview.
not able to set permission in Swift
Hi!
It is possible to add some methods for customization of the WebView, NavigationBar, NavigationBarItem in the LinkedInAuthorizationViewController class?
Thanks!
Hi,
I am getting the following error when I try and refresh tokens:
connection failed with response 503 (service unavailable)
Here is the code I wrote (placed on line 25 of the demo app)
if (linkedIn.isValidToken) {
[linkedIn refreshAccessTokenWithSuccess:^(NSString *accessToken) {NSLog(@"Success");} failure:^(NSError *error){ NSLog(@"Error");}];
}
Also the error block on the refresh access token doesn't look to have been called
Cheers
Hey,
Thanks for sharing this great library, I really like that there are no dependencies
I do have a concern however that the state is set statically in the code:
self.service = [LinkedInServiceManager serviceForPresentingViewController:_sender
cancelButtonText:self.cancelButtonText
appSettings:[LinkedInAppSettings settingsWithClientSecret:_clientSecret
clientId:_clientId
redirectUrl:_applicationWithRedirectURL
permissions:_permissions
state:@"DCEEFWF45453sdffef424"]];
Which means the state value is very easy to guess, opening it up to a possible CSFR attack.
https://developer.linkedin.com/docs/oauth2
Is there a way to set this in the client?
If not do would you be able to do a update so this can be set in the client through the requestMeWithSenderViewController: request or on the LinkedInHelper Object
Cheers
Does this framework support OAuth V.2.?
Hey,
This is the last and probably most important issue security-wise.
Could the LINKEDIN_TOKEN_KEY be stored in the secure keychain rather than the less secure NSUserDefaults?
Cheers
Hey,
I am having trouble finding a way to clear the access keys out of the memory and log the user out
In schools they are often on shared devices and users need to login and out frequently.
Cheers
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.