Skip to content

Conversation

@magnunleno
Copy link
Contributor

Since the JWT RFC states that the 'use of this claim is OPTIONAL' and @vimalloc (at #384) was inclined to add this feature, I took the liberty to hack together a possible solution.

I also updated in this merge request the documentation and added test cases for both scenarios.

Hope this comes useful.

@vimalloc-mavenlink
Copy link
Contributor

Thanks! I'll give this a look over as soon as I can!

@augustozanellato
Copy link

I think you got a typo in docs/options.rst, on line 145 it should be .. py:data:: JWT_ENCODE_NBF, not .. py:data:: JWT_ENCODE_NBR

@magnunleno
Copy link
Contributor Author

Thanks @augustozanellato, just fixed it!

@vimalloc-mavenlink
Copy link
Contributor

Sorry it's taking me so long here, life has been hectic. I'll make sure to take some time after work today to give this a good look over and cut a new release 👍

@magnunleno
Copy link
Contributor Author

Don't worry @vimalloc-mavenlink, take your time.

Copy link
Owner

@vimalloc vimalloc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thanks for contributing! 👍

@vimalloc vimalloc merged commit fdc0602 into vimalloc:master May 2, 2021
@vimalloc
Copy link
Owner

vimalloc commented May 2, 2021

Released in v4.2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants