OAuth 2.0 basically allows a third party website to access a limited or selective set of user information on a particular website. There are different kinds of authorization flows, two common ones of which are as follows:
Authorization grant
Implicit grant
We'll have a look at them in the following sub-sections.
An authorization grant consists of an authorization link, which looks like the following:
https://www.example.com/oauth/authorize?response_type=code&client_id=CLIENT_ID&redirect_uri=CALLBACK_URL&scope=read
Let's break down the different components here: