DEV Community

Cover image for Day:38 Training At ryaz :               Authentication and Authorization
mahin651
mahin651

Posted on

Day:38 Training At ryaz : Authentication and Authorization

  • Date:7/03/2022
  • Day:Monday

Today, I started at about 10:40 am as, I was done with about Mongoose part and today I started with Authentication and Authorization and first of all the instructor started with introduction that what Is meaning of Authorisation and Authentication.Authentication is the process of determining if the user is who he claims to be. It involves validating their email or password. and Authorization is the process of determining if the user has permission to perform a given operation.And the instructor guided that to use hash passwords bcrypt is used.and further instructed about use of bcrypt.After this he guided to make user model and discussed the process of registering user and further discussed the use of load ash as Lodash is a JavaScript library that helps programmers write more concise and maintainable JavaScript after this he instructed about testing the Authentication and how to generate authentication tokens
and use Jason web tokens. so, this way my day ended up by learning more new things.

Top comments (0)