Skip to the content.

Home Page

Class 14 Notes

What is OAuth

OAuth is an authentication protocol that allows the user to sent client information to be authenticated without using the original logon credentials.

A good example of an OAuth use is when trying to log on to a Google or Facebook account when on a third-party website.

OAuth works by:

OpenID is a way to use one sign in for all sites.

Authorization and Authentication flows

The difference between authorization and authentication is that authorization gives the user access by requesting a third source to verify the user’s identity and authentication is a way for users to log in without the third-party source.

Authorization Code Flow is the steps in which authorization progresses.

Authorization Code Flow with Proof Key for Code Exchange (PKCE) is a way of authorizing access using code verifiers and challenges.

Implicit Flow with Form Post is the use of POST instead of URL fragments for connection.

Client Credentials Flow is authorization using user ID and a unique secret token.

Device Authorization Flow is authorization using a device that recieves an authorization code. An authorized device makes a request for logging that the browser marks as authorized and returns an access token.

Resource Owner Password Flow is when users log in with their log in information, and that info is then stored in the backend.

Things I want to know more about