Authentication vs Authorization

द्वारा admin , 27 जून, 2026

Do you know how what is JavaScript Modules. Don't worry we'll cover everything, just keep reading techbrushup

Authentication = "Who are you?"

When a user logs in, the system verifies their identity.

authentication.js
			
			Email: manoj@gmail.com
			Password: Password@123
			
			

Server checks:

		
		✔ Email exists?
		
		✔ Password correct?
		 
	   

If yes:

		
		You are Manoj Paul
			
		

Then the server issues a JWT token.

Authorization = "What are you allowed to do?"

Authorization (Role-Based Access Control).

Authentication → Who are you?

Authorization → What are you allowed to do?

Next.....


Standard (Image)

सादा टेक्स्ट

  • No HTML tags allowed.
  • लाइन और पैराग्राफ स्वतः भंजन
  • Web page addresses and email addresses turn into links automatically.