Update: I’ve found the solution to this problem!
The issue was in the cryptography package and after looking at the latest release notes, I’ve noticed that the cryptography version needs to be updated. So, if your current version is 41.0.2 => Please upgrade it to 41.0.7 (This is the latest version currently)
Hope this helps others if they encounter this issue