Authentication and Authorization. While often used interchangeably, authentication and authorization represent fundamentally different functions. . In simple terms, authentication is the process of verifying who a user is, while authorization is the process of verifying what they have access to.
Let’s see the real life example
Imagine that your neighbor has asked you to feed his pets while he is away. In this example, you have the authorization to access the kitchen and open the cupboard storing the pet food. However, you can’t go into your neighbor’s bedroom as he did not explicitly permit you to do so. Even though you had the right to enter the house (authentication), your neighbor only allowed you access to certain areas (authorization).
I wrote another in depth article about OAUTH you can read that here before it becomes a premium content.
[…] Are you familiar about difference between authentication vs authorization here very brief write up on this? […]
[…] Understanding Authentication VS Authorization from daily life routine ? […]