authentication in own mobile app

2019-03-01 07:24发布

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条回答
神经病院院长
2楼-- · 2019-03-01 07:54

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

查看更多
登录 后发表回答