Django REST Framework with Simple JWT (JSON Web Token): Steps on how to sign and verify using the RSA algorithm

Pre-requisites
Complete setup in Simple JWT
Introduction
In order to use the RSA algorithm, we need to have a private key and a public key. The private key is used during the signing process of generating the token. The public key is used to verify that the token is valid.