reading-notes

What is OAuth

What is OAuth?

OAuth is an open-standard authorization protocol or framework that describes how unrelated servers and services can safely allow authenticated access to their assets without actually sharing the initial

Give an example of what using OAuth would look like.

The simplest example of OAuth is when you go to log onto a website and it offers one or more opportunities to log on using another website’s/service’s logon

How does OAuth work? What are the steps that it takes to authenticate the user?

What is OpenID?

OpenID is for humans logging into machines, OAuth is for machines logging into machines on behalf of humans.”

Authorization and Authentication flows

What is the difference between authorization and authentication?

Authentication

Authorization

What is Authorization Code Flow?

is an alphanumeric password that authorizes its user to purchase, sell or transfer items, or to enter information into a security-protected space

What is Authorization Code Flow with Proof Key for Code Exchange (PKCE)?

is an OpenId Connect flow specifically designed to authenticate native or mobile application users.

What is Implicit Flow with Form Post?

As an alternative to the Authorization Code Flow, OAuth 2.0 provides the Implicit Flow, which is intended for Public Clients, or applications which are unable to securely store Client Secrets.

What is Client Credentials Flow?

typical authentication schemes like username + password or social logins don’t make sense. Instead, M2M apps use the Client Credentials Flow in which they pass along their Client ID and Client Secret to authenticate themselves and get a token.

What is Device Authorization Flow?

With input-constrained devices that connect to the internet, rather than authenticate the user directly, the device asks the user to go to a link on their computer or smartphone and authorize the device.

What is Resource Owner Password Flow?

Though we do not recommend it, highly-trusted applications can use the Resource Owner Password Flow, which requests that users provide credentials (username and password), typically using an interactive form.