Authentication
OAuth
-
What is OAuth?
- A protocol or framework that allows the access between unrelated servers or services.
-
Give an example of what using OAuth would look like.
- Accessing GitHUB from netlify.
-
How does OAuth work? What are the steps that it takes to authenticate the user?
- A request token is sent to the clients software upon a third party site requests to access the website in need, Authentication is needed from client to have an access token which will be used (silently) later by the third party to access the website.
-
What is OpenID?
- Having an ID that authinticates the user to access different services.
Authentication and Authorization Flows
-
What is the difference between authorization and authentication?
- Authentication is identification. Authorization is permission
-
What is Authorization Code Flow?
- The exchange of authorization code for a token.
-
what is Authorization Code Flow with Proof Key for Code Exchange (PKCE)?
- Acquiring a proof key to give authorization.
-
What is Implicit Flow with Form Post?
- needs extra reading just to understand the general idea.
-
What is Client Credentials Flow?
- passing the used ID and secrets to gain authentication.
-
What is Device Authorization Flow?
- The exchange of client ID for token between devices.
-
What is Resource Owner Password Flow?
- The storage and use of client credentials by the server.