Skip to content

URGENT Adding token and checking password for login #11

@rutulmthakkar

Description

@rutulmthakkar

Hi

I am calling store procedures and right before I use into(res) which sends the response. I want to fetch the user id from the response json received from the SQL query and then create and attach jwt token with response body or header before sending it.

I also want to know how to store result that I get from req.sql into variable and not directly into res so I can use to check password using bcrypt.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions