Let's Get Authorization Done by OAuth 2.0
What is OAuth 2.0? OAuth 2.0 is an open-standard authorization protocol or framework that provides applications the ability for “secure designated access.” For example, you can tell Facebook that it’s OK for ABC.com/application to access your profile or post updates to your timeline without having to give ABC.com your Facebook password. This minimizes risk in a major way: In the event ABC.com suffers a breach, your Facebook password remains safe . This is known as secure, third-party, user-agent, delegated authorization. How it works? Let's get started with OAuth Roles 👀 Resource Owner - the user who authorizes an application to access their account. Client - the application that wants to access the user's account. Resource Server - hosts the protected user accounts. Authorization Server - verifies the identity of the user then issues access tokens to the application. There are five types of grants specified in the OAuth 2.0 s...