Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validating custom express routes #498

kokujin opened this Issue May 7, 2017 · 1 comment


None yet
1 participant
Copy link

kokujin commented May 7, 2017

Taken from the example in the repository, What exactly is the payload that should be sent to this route to pass authorization?
I have tried sending the JWT as an authorization header but I still get a status 401.


// Custom Express routes
app.get('/protected','jwt'), (req, res, next) => {
  res.json({ success: true });

This comment has been minimized.

Copy link

kokujin commented May 7, 2017


@kokujin kokujin closed this May 7, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.