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

is there a way to detect if the token used is correct or not ? #601

Closed
jpca999 opened this Issue Nov 4, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@jpca999
Copy link

jpca999 commented Nov 4, 2017

Steps to reproduce

(First please check that this issue is not already solved as described
here
)

  • Tell us what broke. The more detailed the better.
  • If you can, please create a simple example that reproduces the issue and link to a gist, jsbin, repo, etc.

Expected behavior

Tell us what should happen

Actual behavior

Tell us what happens instead

System configuration

Tell us about the applicable parts of your setup.

Module versions (especially the part that's not working):

NodeJS version:

Operating System:

Browser Version:

React Native Version:

Module Loader:

@daffl

This comment has been minimized.

Copy link
Member

daffl commented Nov 4, 2017

The app.passport.verifyJWT method is documented here. The secret required is usually located in app.get('authentication').secret.

@daffl daffl closed this Nov 6, 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.