OAuth authentication is commonly used by web services around the internet, including Youtube, Twitter, and Facebook. Unfortunately it can be somewhat of a pain to code and on the iPhone and iPad some of the solutions end up being somewhat awkward.
I’ve mentioned some useful goodies from Google for iOS developers in the past, and now Google has created a new library that allows easy Oauth authentication and can be used in all your iOS apps.
What I really like about this library is how easy it is to use, with just a few lines of code you can implement it into your app, and it does everything including popping up a webview so your users can sign in.
You can see a tutorial with sample usage code on the Google Mac Blog here:
Oauth Sign-In Controllers For iOS Apps
You can find the project on Google code here:
http://code.google.com/p/gtm-oauth/
Thanks for reading, please share this using the buttons below!
©2010 iPhone, iOS 4, iPad SDK Development Tutorial and Programming Tips. All Rights Reserved.
.
Share and Enjoy:






