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