You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Access based on attributes like location, device, time
Permission-Based
Specific feature access given to user (e.g., read, write, delete)
π Summary Table:
Feature
Authentication
Authorization
β Meaning
Confirms user identity
Grants access rights
π Happens
First step
After authentication
π Example
Login with email/password
Admin can delete users, user cannot
π§ͺ Methods
Password, OTP, OAuth, biometric
Roles, permissions, policies
π― Focus
Who are you?
What can you do?
About
π Implemented a secure authentication system with JWT, email/password login, and Google OAuth. πΎ Tokens stored in localStorage with role-based access and protected routes.