Role Based Authentication and Authorization with DjangoRestFramework and SimpleJWT

endpoints

{
    "api_root_view": "http://127.0.0.1:8000"
    "register": "http://127.0.0.1:8000/register",
    "login": "http://127.0.0.1:8000/login",
    "users": "http://127.0.0.1:8000/users",
    "token_create": "http://127.0.0.1:8000/token/obtain/",
    "token_refresh": "http://127.0.0.1:8000/token/refresh/"
}