authentication in own mobile app

折月煮酒 提交于 2019-12-20 05:23:26

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!