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

oothJwt and reset password #90

@dfliess

Description

@dfliess

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

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