Skip to content

This repository is about how we can make authentication and authorization using express js

Notifications You must be signed in to change notification settings

daviddprtma/authentication-and-authorisation-with-expressjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Winner #1 The Best Bounty Project Authentication and Authorization With Express JS

This repository is about how we can make authentication and authorization using express js

For the list of the bounty winners, you can check it in here https://discord.com/channels/895564164783808523/895570285800062977/1285543418831044630

About The Project

Product Screenshot

In this implementation, I added a function for the user who can delete their username after authentication. For my idea, giving an authorization for the regular user to delete other user is a bad idea because if the user that we want to delete are the admin, then we'll lost our role as an admin who can manage everything in our apps. So for the regular use, we must avoid them to delete each other user and only who have an admin role, who can delete the user. And in here I'll discuss & explain to you what is Authentication & Authorization in this bounty challenge:

  • Authentication: Authentication is a process in which the credentials provided are compared to those on file in a database of authorized users' information on a local operating system or within an authentication server. If the credentials match, the process is completed and the user is granted authorization for access.

  • Authorization: Authorization defines what actions a user is allowed to perform after they’ve been authenticated. It involves granting or denying access to specific resources or functionality.

To make it more understanding, here is the diagram for the authentication and authorization using JWT (JSON Web Token) :

Here's my video presentation to make it more depth known about this bounty challenge for authentication & authorization using expressjs https://drive.google.com/file/d/15WziX0TM2nor2gZ6YWACQg3N-rjh5Ho-/view?usp=sharing

Built With

License

Distributed under the MIT License. See MIT License for more information.

About

This repository is about how we can make authentication and authorization using express js

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published