Skip to content
This repository was archived by the owner on Feb 24, 2021. It is now read-only.

oothJwt and reset password #90

Open
dfliess opened this issue May 24, 2019 · 0 comments
Open

oothJwt and reset password #90

dfliess opened this issue May 24, 2019 · 0 comments

Comments

@dfliess
Copy link

dfliess commented May 24, 2019

When using ooth-jwt and tokenLocation: 'both' or 'body' reset password from ooth-local breaks as send a token in the body and ooth-jwt tries to parse it and says jwt malformed.

For now I have ended using tokenLocation: 'header'.
When fixing this I would suggest to also think in accepting an array of extractors http://www.passportjs.org/packages/passport-jwt/#extracting-the-jwt-from-the-request instead of that string. So that anyone can add for example fromUrlQueryParameter

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant