问题
About to open up a public api with OAuth access, no problem with that. Main site uses the api but with basic authentication instead (restricted for our internal ip range)
Next step is to plan a mobile application but how should one handle authentication there?
First thought was to create a special log in screen just for our appid to make it look like authentication (instead of authorization) but it would not be very hard to revers engineer our appid.
How does (for example) facebook handle log in within the facebook iphone app? Look and feel says they're using authentication but if so, how do they keep others from using it?
Suggestions appreciated.
回答1:
I think you will find your answer in this document, and particular paragraph: http://tools.ietf.org/html/draft-ietf-oauth-v2-threatmodel-07#section-5.2.3.4
来源:https://stackoverflow.com/questions/13224264/authentication-in-own-mobile-app