Skip to content

How to authorize the user to protected routes in backend using the access token #18

@deepakparamesh

Description

@deepakparamesh

Hi, this is not an error or bug, this issue is raised to get clarified.
I want know how to authorize the user will be allowed to access the protected routes.

In passport.js implementation. I can authenticate the user using

exports.googleAuthLogin = passport.authenticate('google', { failureRedirect: '/', });

but how to provide access or authenticate the user by using this front end module ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions