jwt
jwt copied to clipboard
feat: load token from url query parameter
Fixes #49
I have also updated the validator and some old tests in consideration of the new parameter
@Marsup Could you review this ?
I'm not a fan of adding support for a use case that is likely to inadvertently expose the tokens to standard logging tools.
The url including the query part is included in most HTTP server logs, and can also easily be exposed by clients through system logs. Probably better explained in this SO answer.
@kanongil But what about use cases like signed urls from signup links and stuff ? Isn't these best left to the user of the library ?
@kanongil @Marsup Any chance this can be re-evalutated ?