reading-notes


Project maintained by Razan-am Hosted on GitHub Pages — Theme by mattgraham

Bearer Authorization

Write the following steps in the correct order:

Correct Order:

  1. Register your application to get a client_id and client_secret
  2. Ask the client if they want to sign in via a third party
  3. Redirect to a third party authentication endpoint
  4. Make a request to a third-party API endpoint
  5. Receive authorization code
  6. Make a request to the access token endpoint
  7. Receive access token

What can you do with an authorization code?

What can you do with an access token?

What’s a benefit of using OAuth instead of your own basic authentication?


JWT

What is JSON Web Token?

When should you use JSON Web Tokens?

  1. Authorization:
  2. Information Exchange:

What is the JSON Web Token structure?

  1. Header
  2. Payload
  3. Signature

xxxxx.yyyyy.zzzzz

Why should we use JSON Web Tokens?


References:

@By WILL KENTON/Authorization Code

@By OKTA/Access Tokens

@By JWT/Introduction to JSON Web Tokens