GithubHelp home page GithubHelp logo

appdotnet / adnlogin-sdk-ios Goto Github PK

View Code? Open in Web Editor NEW
49.0 49.0 18.0 328 KB

This is the App.net Login SDK for iOS. It allows users to forgo entering passwords into each app and instead authorize from the App.net Passport iOS application. Passport allows you to browse the App.net directory and perform account management functions.

Home Page: http://developers.app.net/

License: MIT License

Ruby 2.59% Objective-C 97.41%

adnlogin-sdk-ios's People

Contributors

berg avatar dasdom avatar mthurman avatar rrbrambley avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

adnlogin-sdk-ios's Issues

Unable to silence URL error logged by openURL:sourceApplication:annotation:

The method:

- (BOOL)openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation

is called by the client app's UIApplicationDelegate whenever the client app is launched via its URL scheme. If ADNLogin doesn't handle a given URL scheme it NSLog an error:

Couldn't open URL

This error is logged whenever ADNLogin cannot handle an URL, even if the URL is a valid URL scheme for the client app.

Add a security statement to README

I assume the following should be added to the README:

Identifier and URL scheme should be considered secret. Anybody knowing these two and your App Identifier can create requests seeming to originate from your App,

I'm not totally sure about this. To my understanding the combination of Identifier (net.app.client.abx), URL scheme (adn123) and App Identifier (com.example.myapp) is used to identify and authenticate the app. I assume that at least for AdHoc builds an attacker can have complete control about the App Identifier (com.example.myapp) and so can impersonate an existing app.

This should not be considered an security vulnerability because given enough resources any client side secrets can be extracted although FailPlay makes it somewhat harder.
But Identifier and URL scheme should be considered secret by the developer and thus not published. See http://developers.app.net/docs/authentication/flows/app-access-token/ for documentation about this in a different context.

Than again, I might just be wrong about what is happening there.

Crash because of NSLayoutConstraint

If you download the project as it is and run it on the iOS 5.1 simulator you have a crash due to Auto Layout. The solution is to turn of Auto Layout in all the .xib files. Given the potential hassle of merging xib files I think it's better if I don't send a pull request.

Any good way to test apps in the Simulator?

Since using this ties me into authenticating via the app in the app store, and we're unable to install 3rd party apps in the simulator, is there any recommended way to allow us to test (or bypass authentication) when testing our apps within the simulator?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.