creating token while user login then if user try to access the profile page so we are authenticating the user (verifying jwt token using jwt.verify() method ) - if the user is logged in or not.
creating token while user login then if user try to access the profile page so we are authenticating the user (verifying jwt token using jwt.verify() method ) - if the user is logged in or not.
creating token while user login then if user try to access the profile page so we are authenticating the user (verifying jwt token using jwt.verify() method ) - if the user is logged in or not.
creating token while user login then if user try to access the profile page so we are authenticating the user (verifying jwt token using jwt.verify() method ) - if the user is logged in or not.