Authorization via application instead of user-agent

With the typical OAuth 2.0 authorization flow, your application will direct your user's user-agent to the service provider's authorization endpoint where they can log in and authorize your application. However, in the world of mobile applications, certain platforms and service providers support the ability to perform this authorization flow within the service provider's mobile application and not with a user-agent.

For example, if you were to write a mobile application that integrates with Facebook, typically, when your user goes to authenticate, your application will send their user-agent to Facebook's authorization endpoint. However, Facebook on iOS allows this operation to happen via the Facebook ...

Get Mastering OAuth 2.0 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.