Reading: Bearer Authorization
Reading: Bearer Authorization
- Write the following steps in the correct order:
- Register your application to get a client_id and client_secret
- Make a request to a third-party API endpoint
- Redirect to a third party authentication endpoint
- Ask the client if they want to sign in via a third party
- Receive authorization code
- Make a request to the access token endpoint
- Receive access token
- What can you do with an authorization code?
- To obtain an access token
- What can you do with an access token?
- to access protected infomation by making HTTP requests with access token
- What’s a benefit of using OAuth instead of your own basic authentication?
- Single-sign-on systems give the user one less password to worry about managing. Additionally, it grants user more control over their data; they control which applications have what type of access to which type of data.