What is the meaning of OAuth and How OAuth Works?

Two major flow

  1. Authorizing a third party
  2. Giving them the access token

Authorizing a third party

  1. User logins to tool to access a regular system backup service.
  2. The tool requires access to Google Drive to store the backup.
  3. The tool ask Google Drive to take the User to their page login and authenticate the user
  4. The Google show the list of permission that Backup tool needs.
  5. The User authorizes the backup tool on Google Drive
  6. Google Drive grants a authorization token to the tool
  7. Next time the tool needs to store backup on Google drive it presents the auth token to Google
  8. Google gives the access token to tol

Reference :

Leave a Comment