OAuth on iPhone: using Safari or UIWebView?

Posted by athanhcong on Stack Overflow See other posts from Stack Overflow or by athanhcong
Published on 2010-03-09T04:25:44Z Indexed on 2010/03/09 4:36 UTC
Read the original article Hit count: 351

Filed under:
|

Hi all,

When I implement OAuth in iPhone, I have a dilemma to choose Safari or UIWebView to open the Twitter pages for user authentication? I write some advantage and disadvantage of both case: Using UIWebWeb. The disadvantage is users have to enter their credentials in our application. It's maybe risky phishing. The advantage is this approach will not quit our app.

Using Safari for user to authenticate (this approach automatically callbacks to our application) Addvantage: less risky. Disadvantage: have to quit our app

A good reference link about this: http://fireeagle.yahoo.net/developer/documentation/oauth_best_practice

Which approach do you prefer? Any response is appreciate. Thanks.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about oauth