An online markdown blog and knowledge repository.
Give an example of what using OAuth would look like.
How does OAuth work?
As discussed on [csoonline.com, accessed 30-Apr-2022]
What is OpenID?
It is an open Authentication system (as opposed to OAuth authorization system).
OpenID is used to authenticate users to machines.
All responses were derived from reading the Auth0 documentation on authentication and authorization flows
What is the difference between authorization and authentication?
Authentication (Auth-n) is the process of positively identifying a person or a thing.
Authorization (Auth-z) is a permission granted to an entity to allow an action or state of being.
What is Authorization Code Flow?
For Auth0, it means authentication and authorization are handled in a single stream of activity that supports server-side, mobile, desktop, client-side, machine-to-machine, and devices.
What is Authorization Code Flow with Proof Key for Code Exchange (PKCE)?
An added security layer for use on single-page apps and other instances where a client secret cannot be securely stored.
There is an excellent diagram on Auth-n Code Flow with PKCE at the Auth0 website
What is Implicit Flow with Form Post?
Intended for public clients or applications that are insecure and cannot safely store client secrets. This flow offers a streamlined workflow if the application only needs an ID token to perform user authentication.
What is Client Credentials Flow?
Used in machine-to-machine (M2M) applications (e.g.: daemons, services on the back end) authorizes an applicaton instead of a user.
What is Device Authorization Flow?
Used for smartphones and other limited-input devices.
The device will ask the user to click a link or button on their smartphone to authorize the devices.
Used where entering text would be difficult or impossible.
An OAuth 2.0 draft implementation.
What is Resource Owner Password Flow?
An alternative to Authorization Code Flow.
Uses an interactive form to capture username and password.
Should only be used when redirect-based flows cannot be used.
What is OAuth
Authorization and Authentication flows
Auth0 for Single Page Apps
Go back to Readme.md