Code Fellows courses Notes
This project is maintained by QamarAlkhatib
What is OAuth?
Give an example of what using OAuth would look like.
How does OAuth work? What are the steps that it takes to authenticate the user?
The user’s confirmed identity is provided by the first website, which connects to the second website on their behalf using OAuth.
The second site creates a one-time token and a one-time secret that are only valid for the transaction and the people involved.
The initiating user’s client software receives this token and secret from the initial site.
The request token and secret are presented to the authorization provider by the client’s software (which may or may not be the second site).
The client may be requested to authenticate if they haven’t already done so with the authorisation provider. The consumer is requested to approve the authorisation transaction to the second website after authentication.
At the first website, the user approves (or their program quietly approves) a specific transaction type.
The user is given an access token that has been approved (note that it is no longer a request token).
The user gives the approved access token to the first website.
The first website gives the access token to the second website as proof of authentication on behalf of the user.
The second website lets the first website access their site on behalf of the user.
The user sees a successfully completed transaction occurring.
What is OpenID?
What is the difference between authorization and authentication?
What is Authorization Code Flow?
What is Authorization Code Flow with Proof Key for Code Exchange (PKCE)?
What is Implicit Flow with Form Post?
What is Client Credentials Flow?
What is Device Authorization Flow?
What is Resource Owner Password Flow?