From 1c85438490b233d80ec6049bff659f5251fdac83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Mon, 20 May 2024 10:32:44 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Simplify=20docs=20note?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/en/docs/tutorial/security/oauth2-jwt.md | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/docs/en/docs/tutorial/security/oauth2-jwt.md b/docs/en/docs/tutorial/security/oauth2-jwt.md index 5c69c0f99..b011db67a 100644 --- a/docs/en/docs/tutorial/security/oauth2-jwt.md +++ b/docs/en/docs/tutorial/security/oauth2-jwt.md @@ -40,15 +40,10 @@ $ pip install pyjwt -PyJWT The default package includes types and common cryptography algorithms like `HS256`, `HS512`, `PS*`, `RS*`, among others +!!! info + If you are planning to use digital signature algorithms like RSA or ECDSA, you should install the cryptography library dependency `pyjwt[crypto]`. -If you are planning to use digital signature algorithms like RSA or ECDSA, you should install the cryptography library dependency `pyjwt[crypto]`. -For more info please visit PyJWT Cryptographic Dependencies (Optional). - -!!! note - This tutorial previously used python-jose. - - But it was deprecated to use PyJWT instead as python-jose seems to be abandoned and several security issues(CVE) has been reported using this outdated library. + You can read more about it in the PyJWT Installation docs. ## Password hashing