Hi all,

With the recent addition of the algorithm parameter to the signing.Signer 
class, it's now rather straightforward for Django to generate HS256 
(non-encrypted) JSON Web Tokens.
With a growing popularity of JS-client/Django server communications (DRF 
and al.), I think there might be some interest for Django to be able to 
generate and decode such tokens. For any other types of JWTs which 
generally require access to a cryptography module, we can point users to 
third-party libs like PyJWT (the docs should be clear about that).

I made a proof-of-concept PR (docs missing) here:
 - https://github.com/django/django/pull/12728

What people here think about that proposal?

Claude

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/5f67fefb-d158-4722-b704-6c34d72692a8%40googlegroups.com.

Reply via email to