OAuth 2.0

I was learning about OAuth and took some notes based on this excellent video:

Watch the video

Delegated Authentication

How can I let a website access my data w/o giving away my password? e.g. Logging in to ChatGPT using my Gmail id.

OAuth 2.0 terms

In the Youtube video of a user logging in to Yelp.com using their Gmail id so that Yelp can have my contacts, we have:

During the exchange of code to token, we will need a secret key

2 helpful tools

Types of flow:

Open Id

OAuth was originally designed for authorization and not for authentication i.e., only about permissions or scope.

| Protocol | Purpose | Use it for.. | |----------|---------| ------| | Open ID Connect | Authentication | * logging in users * making your account accessible in other systems | | OAuth 2.0 | Authorization | * granting access to your API * getting access to user data |

Open ID Connect adds the following to OAuth: