Skip to content

Authentication error #22

@enzovaldes

Description

@enzovaldes

Hi,

Routes of my program calls the auth.isAuthenticated () function , this route is the type get:
This route shows me cars
router.get ( '/', auth.isAuthenticated () , controller.index ) ;

For some reason when I try to enter the path to the backend , ie api / car tells me :

GET / api / cars
404 9ms
UnauthorizedError : No Authorization header was found.

Please help .

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